add(env): fallback variables + avoid types errors
This commit is contained in:
parent
c61b05afa4
commit
aad9e9d9a9
4
utils/config.ts
Normal file
4
utils/config.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export const PROJECT_NAME =
|
||||
process.env.NEXT_PUBLIC_PROJECT_NAME != null
|
||||
? process.env.NEXT_PUBLIC_PROJECT_NAME
|
||||
: 'unknown project'
|
Loading…
Reference in New Issue
Block a user