update
This commit is contained in:
1 parent
2396bbcf12
commit
baa5bc091e
14 files changed
+275
-269
No files matched your search
@@ -2,8 +2,7 @@ import path from 'path'
|
||||
|
||||
export const port = Number(process.env['PORT'] || 16272)
|
||||
|
||||
export const isProduction = process.env['NODE_ENV'] === 'production'
|
||||
export const isDev = !isProduction
|
||||
export const isDev = process.env['NODE_ENV'] === 'development'
|
||||
|
||||
export function getPath(...segments: string[]) {
|
||||
return path.join(__dirname, '..', ...segments)
|
||||
|
||||
Reference in new issue
Block a user