Skip to content

Commit

Permalink
log url
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Mar 2, 2024
1 parent 7ac0eb6 commit 0538b8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/houdini/src/runtime/router/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function handle_request(args: ServerHandlerArgs): Promise<Response
async function redirect_auth(args: ServerHandlerArgs): Promise<Response> {
// the session and configuration are passed as query parameters in
// the url
console.log(args.url, args.headers)
const { searchParams } = new URL(args.url!, `http://${args.headers.get('host')}`)
const { redirectTo, ...session } = Object.fromEntries(searchParams.entries())

Expand Down

0 comments on commit 0538b8a

Please sign in to comment.