Skip to content

Commit cc81c99

Browse files
committed
tryfix
1 parent 3b413b1 commit cc81c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function deploy(config, ready) {
5252
request.on('end', () => {
5353
if (config.log !== "") {
5454
let now = config.logTime ? `[${formatTime.format(new Date())}] ` : '';
55-
fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`);
55+
fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`, { flag: "as" });
5656
}
5757

5858
if (config.noCache) {

0 commit comments

Comments
 (0)