Skip to content

Commit

Permalink
chore: update example backend url (#11939)
Browse files Browse the repository at this point in the history
  • Loading branch information
falcowinkler authored Oct 1, 2024
1 parent eb6c3f5 commit e4d0b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/examples/nextjs/app/[...proxy]/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function handler(request: NextRequest) {

let backendUrl =
process.env.THIRD_PARTY_API_EXAMPLE_BACKEND ??
"https://authjs-third-party-backend.authjs.dev"
"https://third-party-backend.authjs.dev"

let url = request.nextUrl.href.replace(request.nextUrl.origin, backendUrl)
let result = await fetch(url, { headers, body: request.body })
Expand Down

0 comments on commit e4d0b71

Please sign in to comment.