cleanup console.logs and moved to proper log level console to make finding stray console.logs easier
This commit is contained in:
parent
e690ce193b
commit
7f9fe6b660
16 changed files with 50 additions and 59 deletions
|
|
@ -72,10 +72,10 @@ app.use(staticPath, express.static('./static'))
|
|||
|
||||
module.exports = app.listen(port, function (err) {
|
||||
if (err) {
|
||||
console.log(err)
|
||||
console.error(err)
|
||||
return
|
||||
}
|
||||
var uri = 'http://localhost:' + port
|
||||
console.log('Listening at ' + uri + '\n')
|
||||
console.info('Listening at ' + uri + '\n')
|
||||
// opn(uri)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue