diff --git a/gun.js b/gun.js index 705dcf4df..c3d719e2e 100644 --- a/gun.js +++ b/gun.js @@ -1667,7 +1667,7 @@ })(USE, './mesh'); ;USE(function(module){ - var Gun = USE('../index'); + var Gun = USE('./index'); Gun.Mesh = USE('./mesh'); // TODO: resync upon reconnect online/offline diff --git a/src/websocket.js b/src/websocket.js index 17b57e5bf..be2263d5a 100644 --- a/src/websocket.js +++ b/src/websocket.js @@ -1,5 +1,5 @@ -var Gun = require('../index'); +var Gun = require('./index'); Gun.Mesh = require('./mesh'); // TODO: resync upon reconnect online/offline