Skip to content

Commit

Permalink
tryfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tts-sdrissen committed Jul 25, 2023
1 parent 3b413b1 commit cc81c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function deploy(config, ready) {
request.on('end', () => {
if (config.log !== "") {
let now = config.logTime ? `[${formatTime.format(new Date())}] ` : '';
fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`);
fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`, { flag: "as" });
}

if (config.noCache) {
Expand Down

0 comments on commit cc81c99

Please sign in to comment.