fix: all pages now use the right backend url + backend uses .env of root too

This commit is contained in:
theoleuthardt 2025-02-24 16:22:28 +01:00
parent 0d92719258
commit 607d496f2a
11 changed files with 22 additions and 14 deletions

View file

@ -6,7 +6,7 @@ dotenv.config({ path: "../.env" });
const nextConfig: NextConfig = {
output: "standalone",
env: {
backend_url: process.env.NEXT_PUBLIC_BACKEND_URL,
NEXT_PUBLIC_BACKEND_URL: process.env.NEXT_PUBLIC_BACKEND_URL,
},
};