Added full path to file
parent
066f95f698
commit
514939cba8
|
@ -101,7 +101,7 @@ module.exports = {
|
||||||
|
|
||||||
// If Keith, record location to file
|
// If Keith, record location to file
|
||||||
if (user.id==='56b020279f740067540f96e9'){
|
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); }
|
if (err) { console.error('Error saving demo stuff:',err.stack); }
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue