From ca8f92e76d64bea3d0c20bb1d1abbec3369ed727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Bonaf=C3=A9?= <31395135+LucasBonafe@users.noreply.github.com> Date: Tue, 6 Aug 2019 08:41:21 -0300 Subject: [PATCH] Change "BootBot listening on" message Green color with real HTTPS link. --- lib/BootBot.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/BootBot.js b/lib/BootBot.js index 5df40f8..dfda9ba 100644 --- a/lib/BootBot.js +++ b/lib/BootBot.js @@ -47,8 +47,7 @@ class BootBot extends EventEmitter { this.app.set('port', port || 3000); this.server = this.app.listen(this.app.get('port'), () => { const portNum = this.app.get('port'); - console.log('BootBot running on port', portNum); - console.log(`Facebook Webhook running on localhost:${portNum}${this.webhook}`); + process.stdout.write(`\r\x1b[1m\x1b[32mBootBot listening on \x1b[4mhttps://localhost:${portNum}${this.webhook}\x1b[0m\n`); }); }