chore: update fallback port in email.ts

This commit is contained in:
mARTin 2026-03-07 17:54:10 +01:00
parent 2777601031
commit 3ddfc6af79

View File

@ -28,7 +28,7 @@ export async function sendVerificationEmail(
code: string, code: string,
token: string token: string
) { ) {
const baseUrl = process.env.NEXTAUTH_URL || 'http://localhost:3001'; const baseUrl = process.env.NEXTAUTH_URL || 'http://localhost:3000';
const verifyLink = `${baseUrl}/auth/verify-email?token=${token}`; const verifyLink = `${baseUrl}/auth/verify-email?token=${token}`;
const html = ` const html = `