chore: update fallback port in email.ts
This commit is contained in:
parent
2777601031
commit
3ddfc6af79
@ -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 = `
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user