Skip to content

Commit

Permalink
fix: correctly assert protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Jun 22, 2023
1 parent 7edb9cf commit a359a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/assert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function assertConfig(
}

const { callbackUrl: defaultCallbackUrl } = defaultCookies(
options.useSecureCookies ?? url.protocol === "https://"
options.useSecureCookies ?? url.protocol === "https:"
)
const callbackUrlCookie =
request.cookies?.[
Expand Down

1 comment on commit a359a56

@vercel
Copy link

@vercel vercel bot commented on a359a56 Jun 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.