Commit e8357cbd by Иван Кубота

log to tmp

parent 01c178a5
Pipeline #553 failed with stage
...@@ -66,7 +66,7 @@ const parseArgs = function(req, res, opts) { ...@@ -66,7 +66,7 @@ const parseArgs = function(req, res, opts) {
return args; return args;
}; };
var fs = require('fs'); var fs = require('fs');
var logStream = fs.createWriteStream("/var/log/kus-quizard.txt", {flags:'a'}); var logStream = fs.createWriteStream("/tmp/kus-quizard.txt", {flags:'a'});
function getDate(date){ function getDate(date){
if(date instanceof Date) { if(date instanceof Date) {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment