mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 13:20:41 +01:00
feat: add emoji to startup logs, because procrastination.
This commit is contained in:
@@ -83,7 +83,7 @@ exports.listen = async function () {
|
||||
helpers.register();
|
||||
logger.init(app);
|
||||
await initializeNodeBB();
|
||||
winston.info('NodeBB Ready');
|
||||
winston.info('🪄 NodeBB Ready');
|
||||
|
||||
require('./socket.io').server.emit('event:nodebb.ready', {
|
||||
'cache-buster': meta.config['cache-buster'],
|
||||
@@ -258,7 +258,7 @@ async function listen() {
|
||||
}
|
||||
port = parseInt(port, 10);
|
||||
if ((port !== 80 && port !== 443) || nconf.get('trust_proxy') === true) {
|
||||
winston.info('Enabling \'trust proxy\'');
|
||||
winston.info('🤝 Enabling \'trust proxy\'');
|
||||
app.enable('trust proxy');
|
||||
}
|
||||
|
||||
@@ -288,8 +288,8 @@ async function listen() {
|
||||
reject(err);
|
||||
}
|
||||
|
||||
winston.info(`NodeBB is now listening on: ${chalk.yellow(onText)}`);
|
||||
winston.info(`Canonical URL: ${chalk.yellow(nconf.get('url'))}`);
|
||||
winston.info(`📡 NodeBB is now listening on: ${chalk.yellow(onText)}`);
|
||||
winston.info(`🔗 Canonical URL: ${chalk.yellow(nconf.get('url'))}`);
|
||||
if (oldUmask) {
|
||||
process.umask(oldUmask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user