Skip to content

Commit

Permalink
fix: don't use uws
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Oct 31, 2019
1 parent 22e1562 commit 7bc1974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions templates/app/_package.json
Expand Up @@ -44,8 +44,7 @@
"passport-twitter": "^1.0.3",<% } %><% if(filters.googleAuth) { %>
"passport-google-oauth20": "^1.0.0",<% } %><% if(filters.ws) { %>
"primus": "^7.0.1",
"primus-emit": "^1.0.0",
"uws": "10.148.1",<% } %>
"primus-emit": "^1.0.0",<% } %>
"serve-favicon": "^2.3.0"
},
"devDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions templates/app/server/config/websockets(ws).js
Expand Up @@ -41,9 +41,7 @@ export function broadcast(message) {
}

export default function initWebSocketServer(server) {
primus = new Primus(server, {
transformer: 'uws',
});
primus = new Primus(server, {});
primus.plugin('emit', primusEmit);

primus.on('connection', onConnect);
Expand Down

0 comments on commit 7bc1974

Please sign in to comment.