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 0449553 commit 79191c2Copy full SHA for 79191c2
1 file changed
frontend/db/index.ts
@@ -11,7 +11,7 @@ dotenv.config();
11
12
type AppDatabase = PgDatabase<PgQueryResultHKT, typeof schema>;
13
14
-const APP_ENV = process.env.APP_ENV?.trim();
+const APP_ENV = process.env.APP_ENV?.trim().toLowerCase();
15
const IS_LOCAL_ENV = APP_ENV === 'local';
16
const STRICT_LOCAL_DB_GUARD = process.env.SHOP_STRICT_LOCAL_DB === '1';
17
const REQUIRED_LOCAL_DB_URL = process.env.SHOP_REQUIRED_DATABASE_URL_LOCAL;
0 commit comments