feat/TikTok-graph #1

Merged
Pierre1901 merged 6 commits from feat/TikTok-graph into main 2026-03-17 11:39:14 +01:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 2df4a96ccd - Show all commits

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);

View File

@@ -32,6 +32,7 @@ services:
- NODE_ENV=production
- DATABASE_URL=postgresql://wyview:wyview@postgres:5432/wyview
- AUTH_URL=${AUTH_URL}
- NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL}
- NEXTAUTH_URL=${NEXTAUTH_URL}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- AUTH_SECRET=${AUTH_SECRET}
@@ -61,6 +62,7 @@ services:
condition: service_healthy
app:
condition: service_started
command: sh -c "sleep 30 && node worker/snapshot-worker.js"
volumes:
postgres_data: