best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
updated the startup message one more time
wukko8d3ffe3ea422
diff --git a/src/cobalt.js b/src/cobalt.jsindex 4b9d534d..82f4bb9c 100644--- a/src/cobalt.js+++ b/src/cobalt.js@@ -172,7 +172,8 @@ if (fs.existsSync('./.env') && process.env.selfURL && process.env.streamSalt &&res.redirect('/')});app.listen(process.env.port, () => {- console.log(`\n${Cyan(appName)} ${Bright(`v.${version}-${commitHash}`)}\n\nURL: ${Cyan(`${process.env.selfURL}`)}\nPort: ${process.env.port}\nStart time: ${Bright(new Date().toUTCString())}\n`)+ let startTime = new Date();+ console.log(`\n${Cyan(appName)} ${Bright(`v.${version}-${commitHash}`)}\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`))