Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type {NextConfig} from "next";
import path from "node:path";

const EDITION = process.env.EDITION ?? "ce";
const SAGITTARIUS_GRAPHQL_URL = process.env.SAGITTARIUS_GRAPHQL_URL ?? 'http://localhost:3001/graphql';

const cspHeader = `
default-src 'self';
Expand Down Expand Up @@ -55,7 +56,7 @@ const nextConfig: NextConfig = {
return [
{
source: '/graphql',
destination: 'http://localhost:3001/graphql' // Proxy to Backend
destination: SAGITTARIUS_GRAPHQL_URL // Proxy to Backend
}
];
}
Expand Down