Skip to content

Commit

Permalink
uggh ws & uws
Browse files Browse the repository at this point in the history
  • Loading branch information
amark committed Apr 10, 2017
1 parent 6950f7d commit fc74a80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/uws.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ console.log("Experimental high performance uWS server is being used.");
Gun.on('opt', function mount(at){
this.to.next(at);
if(at.once){ return }
if(!at.opt.web){ return }
var opt = at.opt.uws || at.opt.ws || (at.opt.uws = {});
var cat = (at.gun.back(-1)._);

Expand Down
1 change: 1 addition & 0 deletions lib/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ var url = require('url');
Gun.on('opt', function mount(at){
this.to.next(at);
if(at.once){ return }
if(!at.opt.web){ return }
var opt = at.opt.ws || (at.opt.ws = {});
var cat = (at.gun.back(-1)._);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.7.1",
"version": "0.7.2",
"description": "Graph engine",
"main": "index.js",
"browser": "gun.min.js",
Expand Down

0 comments on commit fc74a80

Please sign in to comment.