From 514939cba8cff94add53a87716c8e3abcd460cc6 Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Tue, 23 May 2017 13:52:01 -0400 Subject: [PATCH] Added full path to file --- config/sockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sockets.js b/config/sockets.js index 1bea248..5e8e3d0 100644 --- a/config/sockets.js +++ b/config/sockets.js @@ -101,7 +101,7 @@ module.exports = { // If Keith, record location to file if (user.id==='56b020279f740067540f96e9'){ - fs.appendFile('demo.txt', loc, function (err) { + fs.appendFile('/srv/tracman/demo.txt', loc, function (err) { if (err) { console.error('Error saving demo stuff:',err.stack); } }); }