fix: change the dns from the file route.ts in tiktok

This commit is contained in:
Pierre Ryssen
2026-03-13 14:41:33 +01:00
parent 4ef8913759
commit 2df4a96ccd
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from "next/server";
import { exchangeCodeForTokens } from "@/lib/tiktok";
import { prisma } from "@/lib/prisma";
const baseUrl = process.env.NEXTAUTH_URL || "https://marouette.fun";
const baseUrl = process.env.NEXT_PUBLIC_APP_URL ?? "";
export async function GET(request: NextRequest) {
const { searchParams } = new URL(request.url);