diff --git a/backend/server.ts b/backend/server.ts index d21e70e..1b7bd3e 100644 --- a/backend/server.ts +++ b/backend/server.ts @@ -34,4 +34,5 @@ console.log("Starting Fastify server..."); const PORT = process.env.BACKEND_PORT; app.listen({ port: Number(PORT), host: "0.0.0.0" }, () => { console.log(`🚀Fastify is live on http://localhost:${PORT}`); + console.log(`Allowed origin: ${process.env.CORS_ALLOWED_ORIGIN}`); }); diff --git a/frontend/next.config.ts b/frontend/next.config.ts index 61ab14e..2885d37 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -1,5 +1,7 @@ import type { NextConfig } from "next"; +console.log("NEXT_PUBLIC_BACKEND_URL", process.env.NEXT_PUBLIC_BACKEND_URL); + const nextConfig: NextConfig = { output: "standalone", env: {