chore(cloudcmd) lint

This commit is contained in:
coderaiser 2022-02-19 15:37:28 +02:00
parent 69c8eecaf1
commit 3ba6d4ae53
7 changed files with 10 additions and 20 deletions

View file

@ -35,12 +35,12 @@ const logger = tryRequire('morgan');
module.exports = async (options, config) => {
const prefix = config('prefix');
const port = process.env.PORT || /* c9 */
config('port');
const port = process.env.PORT /* c9 */
|| config('port');
const ip = process.env.IP || /* c9 */
config('ip') ||
'0.0.0.0';
const ip = process.env.IP /* c9 */
|| config('ip')
|| '0.0.0.0';
const app = express();
const server = http.createServer(app);