From 79c6e53eb93caf4b3981c6b12ba34ab4b02fbe67 Mon Sep 17 00:00:00 2001 From: Akhil Meka Date: Mon, 24 Feb 2025 17:53:06 +0530 Subject: [PATCH] webauthn orgin fix --- src/webauthn/webauthn.route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webauthn/webauthn.route.ts b/src/webauthn/webauthn.route.ts index 2c6cc35..e73e01c 100644 --- a/src/webauthn/webauthn.route.ts +++ b/src/webauthn/webauthn.route.ts @@ -15,7 +15,7 @@ import { sendMail } from "../utils/mail"; const rpID = process.env.SERVER_DOMAIN; const rpName = "Quicker Permits"; -const origin = `http://${rpID}:3000`; +const origin = `https://${rpID}`; export async function webAuthnRoutes(fastify: FastifyInstance) { // Registration request