Fix: Todo Multi refresh ...
fix some promises problem
This commit is contained in:
@@ -111,7 +111,9 @@ if ((process.env.NODE_ENV === 'production') || (process.env.NODE_ENV === 'test')
|
||||
httpServer.listen(port);
|
||||
}
|
||||
|
||||
testmsgwebpush();
|
||||
if (process.env.PROD !== 1) {
|
||||
testmsgwebpush();
|
||||
}
|
||||
|
||||
function testmsgwebpush() {
|
||||
var { User } = require('./models/user');
|
||||
|
||||
Reference in New Issue
Block a user