mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-03 04:50:32 +08:00
fix: server star message
This commit is contained in:
parent
9eaf0ccc78
commit
68ac06f4e0
@ -57,4 +57,4 @@ app.use(koaStatic(
|
||||
));
|
||||
|
||||
app.listen(yapi.WEBCONFIG.port);
|
||||
commons.log(`the server is start at port ${yapi.WEBCONFIG.port}`);
|
||||
commons.log(`the server is start at 127.0.0.1${ yapi.WEBCONFIG.port == '80' ? '' : ':' + yapi.WEBCONFIG.port}`);
|
@ -32,7 +32,7 @@ function connect(callback) {
|
||||
});
|
||||
|
||||
db.then(function () {
|
||||
yapi.commons.log('mongodb load success ..., please visit localhost:3000');
|
||||
yapi.commons.log('mongodb load success...');
|
||||
|
||||
if(typeof callback === 'function'){
|
||||
callback.call(db)
|
||||
|
Loading…
Reference in New Issue
Block a user