Skip to content

Commit ce46519

Browse files
committed
fix(server): wsInitPromise should be passed into then in a function
Fixes #2751
1 parent 73d1e29 commit ce46519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/app/server/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function startServer() {
3838
}
3939
<% if(filters.sequelize) { %>
4040
sqldb.sequelize.sync()<% if(filters.ws) { %>
41-
.then(wsInitPromise)
41+
.then(() => wsInitPromise)
4242
.then(primus => {
4343
app.primus = primus;
4444
})<% } %><% if(filters.models) { %>

0 commit comments

Comments
 (0)