Skip to content

Commit

Permalink
Merge pull request #341 from RobinzZH/dev
Browse files Browse the repository at this point in the history
fix(default): add websocket router, fixed #340
  • Loading branch information
RobinzZH authored Oct 15, 2019
2 parents 6301c68 + 96126b2 commit 397469e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/tsw/default/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ this.router = {
}
};

this.wsRouter = {
name: function() {
return 'default';
},
find: function(name, ws) {
ws && ws.close();
return null;
}
};


this.isCloud = false;

this.page419 = null;
Expand Down

0 comments on commit 397469e

Please sign in to comment.