From e9e0fa82c78f85e97c63484fb088bb58e366b5e8 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 9 Apr 2023 11:11:06 +0600 Subject: [PATCH] testing git info retrieval in docker --- src/cobalt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cobalt.js b/src/cobalt.js index 3a7423e3..da39dfec 100644 --- a/src/cobalt.js +++ b/src/cobalt.js @@ -181,7 +181,7 @@ if (process.env.selfURL && process.env.streamSalt && process.env.port) { app.listen(process.env.port, () => { let startTime = new Date(); console.log(`\n${Cyan(appName)} ${Bright(`v.${version}-${commitHash} (${branch})`)}\nStart time: ${Bright(`${startTime.toUTCString()} (${Math.floor(new Date().getTime())})`)}\n\nURL: ${Cyan(`${process.env.selfURL}`)}\nPort: ${process.env.port}\n`) - }); + }) } else { - console.log(Red(`cobalt hasn't been configured yet or configuration is invalid.\n`) + Bright(`please run the setup script to fix this: `) + Green(`npm run setup`)) + console.log(Red(`cobalt hasn't been configured yet or configuration is invalid.\n`) + Bright(`please run the setup script to fix this: `) + Green(`npm run setup`))ж }