Skip to content

Commit 7a2f9ab

Browse files
committed
revert Changes
1 parent 3be8dbb commit 7a2f9ab

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
@@ -59,7 +59,7 @@ function deploy(config, ready) {
5959
request.on('end', () => {
6060
if (config.log !== "") {
6161
let now = config.logTime ? `[${formatTime.format(new Date())}] ` : '';
62-
txtLogger.writeSync(`${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`);
62+
txtLogger.write(`${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`);
6363
}
6464

6565
if (config.noCache) {

0 commit comments

Comments
 (0)