This commit is contained in:
polv committed 2022-05-07 23:48:51 +07:00
1 parent 2396bbcf12
commit baa5bc091e
14 files changed
+275 -269

No files matched your search

+1 -2
View File
@@ -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)