uggh ws & uws

This commit is contained in:
Mark Nadal 2017-04-10 13:10:36 -07:00
parent 6950f7d90c
commit fc74a80cf5
3 changed files with 3 additions and 1 deletions

View File

@ -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)._);

View File

@ -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)._);

View File

@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.7.1",
"version": "0.7.2",
"description": "Graph engine",
"main": "index.js",
"browser": "gun.min.js",