Skip to content

Commit

Permalink
fix(remote-server): get alias for request (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat authored Apr 15, 2021
1 parent d806ab5 commit 6ef7e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remote-server/src/web-did-doc-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const WebDidDocRouter = (): Router => {
return didDoc
}

const getAliasForRequest = async (req: Request) => {
const getAliasForRequest = (req: Request) => {
return encodeURIComponent(req.get('host') || req.hostname)
}

Expand Down

0 comments on commit 6ef7e3a

Please sign in to comment.