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