From 1c25b51e41867bdda3aabe1b10c734bac2f8bfde Mon Sep 17 00:00:00 2001 From: Cole Chamberlain Date: Mon, 17 Oct 2016 15:11:17 -0700 Subject: [PATCH] added yarn.lock to gitignore and fixed npm start --- .gitignore | 1 + examples/http.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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');