diff --git a/docker-compose.yml b/docker-compose.yml index 01db494..948cf6a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,6 +29,8 @@ services: - AUTH_DISCORD_SECRET - BOT_API_KEY - APP_URL + - AUTH_URL=https://voidsentinel.systems + - AUTH_TRUST_HOST=true - BOT_API_URL=http://void-sentinel:8080 - NODE_ENV=production depends_on: diff --git a/web/app/page.tsx b/web/app/page.tsx index 8a35770..10aa4da 100644 --- a/web/app/page.tsx +++ b/web/app/page.tsx @@ -3,6 +3,7 @@ import Hero from "@/components/Hero"; import Features from "@/components/Features"; import Footer from "@/components/Footer"; import { auth } from "@/auth"; +export const dynamic = 'force-dynamic'; import { LoginButton } from "@/components/LoginButton"; export default async function Home() { diff --git a/web/components/LoginButton.tsx b/web/components/LoginButton.tsx index f257334..ae2e2a9 100644 --- a/web/components/LoginButton.tsx +++ b/web/components/LoginButton.tsx @@ -13,7 +13,7 @@ export function LoginButton({ session }: { session: any }) {