Added full path to file

master
Keith Irwin 2017-05-23 13:52:01 -04:00
parent 066f95f698
commit 514939cba8
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
1 changed files with 1 additions and 1 deletions

View File

@ -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); }
});
}