chore: revert hardcoded baseUrl

This commit is contained in:
Henry
2025-11-27 23:34:01 +00:00
parent ade9aad4bf
commit 0928709173
3 changed files with 6 additions and 3 deletions

View File

@@ -15,8 +15,7 @@ const encoder = new TextEncoder();
export async function createEmailUnsubscribeLink(
userId: string,
): Promise<string | null> {
// const baseUrl = env("NEXT_PUBLIC_BASE_URL");
const baseUrl = "https://kan.bn";
const baseUrl = env("NEXT_PUBLIC_BASE_URL");
const secret = process.env.EMAIL_UNSUBSCRIBE_SECRET;
if (!baseUrl || !secret) {