diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/.gitignore | 1 | ||||
-rwxr-xr-x | server/serverstore.js | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/server/.gitignore b/server/.gitignore new file mode 100644 index 0000000..51846b9 --- /dev/null +++ b/server/.gitignore @@ -0,0 +1 @@ +persist/ diff --git a/server/serverstore.js b/server/serverstore.js index 3d1c401..e10ae9a 100755 --- a/server/serverstore.js +++ b/server/serverstore.js @@ -10,7 +10,12 @@ var fs=require("fs"), var HOSTNAME="tomsmeding.com",HTTPPORT=42420; -Persist.initSync({}); +Persist = Persist.create({ + dir:__dirname+"/persist", + continuous:false, + interval:false +}); +Persist.initSync(); var challenge=null; |