webauthn orgin fix
This commit is contained in:
@@ -15,7 +15,7 @@ import { sendMail } from "../utils/mail";
|
|||||||
|
|
||||||
const rpID = process.env.SERVER_DOMAIN;
|
const rpID = process.env.SERVER_DOMAIN;
|
||||||
const rpName = "Quicker Permits";
|
const rpName = "Quicker Permits";
|
||||||
const origin = `http://${rpID}:3000`;
|
const origin = `https://${rpID}`;
|
||||||
|
|
||||||
export async function webAuthnRoutes(fastify: FastifyInstance) {
|
export async function webAuthnRoutes(fastify: FastifyInstance) {
|
||||||
// Registration request
|
// Registration request
|
||||||
|
|||||||
Reference in New Issue
Block a user