Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
aiji42 committed Nov 9, 2021
1 parent 28d6b3a commit 4ad257c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const middleware = async (req: NextRequest) => {
// type makeAuth0Inspector = (fallback: Fallback, apiEndpoint: string) => AsyncMiddleware;
return makeAuth0Inspector(
{ type: 'redirect', destination: '/singin' },
`${req.nextUrl.origin}/api/auth/me` // api endpoint for auth0 profile
'/api/auth/me' // api endpoint for auth0 profile
)(req)
}
```
Expand Down

0 comments on commit 4ad257c

Please sign in to comment.