mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-23 19:52:09 +08:00
Initial commit from Create Next App
This commit is contained in:
6
src/constant/env.ts
Normal file
6
src/constant/env.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const isProd = process.env.NODE_ENV === 'production';
|
||||
export const isLocal = process.env.NODE_ENV === 'development';
|
||||
|
||||
export const showLogger = isLocal
|
||||
? true
|
||||
: process.env.NEXT_PUBLIC_SHOW_LOGGER === 'true' ?? false;
|
||||
Reference in New Issue
Block a user