diff --git a/apps/passport/app/routes/connect/email/otp.ts b/apps/passport/app/routes/connect/email/otp.ts index e32d54cb27..6130e761a2 100644 --- a/apps/passport/app/routes/connect/email/otp.ts +++ b/apps/passport/app/routes/connect/email/otp.ts @@ -77,7 +77,7 @@ export const loader: LoaderFunction = getRollupReqFunctionErrorWrapper( } const state = await coreClient.account.generateEmailOTP.mutate({ - passportURL: new URL(request.url).host, + passportURL: new URL(request.url).origin, clientId, email, themeProps,