We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7096fc2 commit 6fdbca4Copy full SHA for 6fdbca4
src/config.ts
@@ -4,7 +4,8 @@ export const IS_DEBUG = process.env.NEXT_PUBLIC_DEBUG === 'true'; // Enables log
4
5
export const IS_PRODUCTION = getCurrentEnvironment() === 'production'; // Enables analytics, etc.
6
7
-export const PUBLIC_URL = envRequired(process.env.NEXT_PUBLIC_PUBLIC_URL);
+// export const PUBLIC_URL = envRequired(process.env.NEXT_PUBLIC_PUBLIC_URL); // Variant 1: .env variable is required
8
+export const PUBLIC_URL = process.env.NEXT_PUBLIC_PUBLIC_URL; // Variant 2: .env variable is optional
9
10
IS_DEBUG &&
11
console.log('@/config', {
0 commit comments