diff --git a/.gitignore b/.gitignore index bdd7bd32..2cbe713e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules/* npm-debug.log +yarn.lock *data.json *.db .idea/ diff --git a/examples/http.js b/examples/http.js index a873e1c4..e3476cf9 100644 --- a/examples/http.js +++ b/examples/http.js @@ -1,6 +1,6 @@ var port = process.env.OPENSHIFT_NODEJS_PORT || process.env.VCAP_APP_PORT || process.env.PORT || process.argv[2] || 80; -var Gun = require('gun'); +var Gun = require('../'); var gun = Gun({ file: 'data.json', s3: { @@ -22,4 +22,4 @@ var server = require('http').createServer(function(req, res){ gun.wsp(server); server.listen(port); -console.log('Server started on port ' + port + ' with /gun'); \ No newline at end of file +console.log('Server started on port ' + port + ' with /gun');