Skip to content

Commit

Permalink
chore(express): docs copy and code example cleanup (#10061)
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Domino <[email protected]>
  • Loading branch information
waigel and ndom91 authored Feb 24, 2024
1 parent 4fd9dd5 commit 21b2562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frameworks-express/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* You will also need to load the environment variables into your runtime environment. For example in Node.js with a package like [`dotenv`](https://www.npmjs.com/package/dotenv) or `Deno.env` in Deno.
*
* ### Provider Configuration
* The callback URL used by the [providers](https://authjs.dev/reference/core/modules/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
* The callback URL used by the [providers](https://authjs.dev/reference/core/providers) must be set to the following, unless you mount the `ExpressAuth` handler on a different path:
*
* ```
* [origin]/auth/callback/[provider]
Expand Down Expand Up @@ -66,7 +66,7 @@
* This can either be done per route, or for a group of routes using a middleware such as the following:
*
* ```ts
* export function authenticatedUser(
* export async function authenticatedUser(
* req: Request,
* res: Response,
* next: NextFunction
Expand Down

0 comments on commit 21b2562

Please sign in to comment.