BrainStone
4 years ago
No known key found for this signature in database
GPG Key ID: 66CCC234C2CEB306
1 changed files with
1 additions and
1 deletions
-
src/config.js
|
|
@ -3,7 +3,7 @@ |
|
|
const { release } = require('./package.json'); |
|
|
const { release } = require('./package.json'); |
|
|
|
|
|
|
|
|
module.exports.USE_SUDO = process.env.USE_SUDO || (process.getuid() !== 0); |
|
|
module.exports.USE_SUDO = process.env.USE_SUDO || (process.getuid() !== 0); |
|
|
module.exports.SUDO_STRING = module.exports.USE_SUDO ? 'sudo ' : ''; |
|
|
module.exports.SUDO_STRING = module.exports.USE_SUDO ? 'sudo -n ' : ''; |
|
|
module.exports.RELEASE = release; |
|
|
module.exports.RELEASE = release; |
|
|
module.exports.PORT = process.env.PORT || 51821; |
|
|
module.exports.PORT = process.env.PORT || 51821; |
|
|
module.exports.PASSWORD = process.env.PASSWORD; |
|
|
module.exports.PASSWORD = process.env.PASSWORD; |
|
|
|