mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 18:33:53 +00:00
refactor: simplify logic
This commit is contained in:
@@ -49,8 +49,7 @@ import { serverTryDesiredPort, getNetworkInterfaces } from './utils/network.js';
|
||||
console.log('\n');
|
||||
consoleHighlight(`Starting Ontime version ${ONTIME_VERSION}`);
|
||||
|
||||
const canLog = isProduction;
|
||||
if (!canLog) {
|
||||
if (!isProduction) {
|
||||
console.log(`Ontime running in ${environment} environment`);
|
||||
console.log(`Ontime source directory at ${srcDir.root} `);
|
||||
console.log(`Ontime public directory at ${publicDir.root} `);
|
||||
|
||||
Reference in New Issue
Block a user