mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
fix
This commit is contained in:
parent
585731a1b3
commit
553329688a
@ -7,7 +7,7 @@ const platform = p.env.OS_OVERRIDE ? p.env.OS_OVERRIDE : p.platform;
|
|||||||
const isWindows = platform === 'win32';
|
const isWindows = platform === 'win32';
|
||||||
const isMac = platform === 'darwin';
|
const isMac = platform === 'darwin';
|
||||||
const isLinux = platform === 'linux';
|
const isLinux = platform === 'linux';
|
||||||
const isDocker = fs.existsSync('/home/dbgate-docker/build');
|
const isDocker = fs.existsSync('/home/dbgate-docker/public');
|
||||||
const isDevMode = p.env.DEVMODE == '1';
|
const isDevMode = p.env.DEVMODE == '1';
|
||||||
const isNpmDist = p.argv[2] == 'startNodeWeb';
|
const isNpmDist = p.argv[2] == 'startNodeWeb';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user