Skip to content

Commit

Permalink
fix(sveltekit): remove trailing slash in webAuthn baseUrl (#10953)
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Domino <yo@ndo.dev>
  • Loading branch information
sillvva and ndom91 authored May 19, 2024
1 parent 84fa0a0 commit 2a5b13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frameworks-sveltekit/src/lib/webauthn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { LiteralUnion } from "./types.js"
* @returns WebAuthn response or error
*/
async function webAuthnOptions(providerId: string, options?: SignInOptions) {
const baseUrl = `${base}/auth/`
const baseUrl = `${base}/auth`

// @ts-expect-error
const params = new URLSearchParams(options)
Expand Down

0 comments on commit 2a5b13d

Please sign in to comment.