fix: hardcode baseUrl
This commit is contained in:
@@ -15,7 +15,8 @@ const encoder = new TextEncoder();
|
||||
export async function createEmailUnsubscribeLink(
|
||||
userId: string,
|
||||
): Promise<string | null> {
|
||||
const baseUrl = env("NEXT_PUBLIC_BASE_URL");
|
||||
// const baseUrl = env("NEXT_PUBLIC_BASE_URL");
|
||||
const baseUrl = "https://kan.bn";
|
||||
const secret = process.env.EMAIL_UNSUBSCRIBE_SECRET;
|
||||
|
||||
if (!baseUrl || !secret) {
|
||||
|
||||
Reference in New Issue
Block a user