Skip to content

Commit 0f70bf1

Browse files
save file
1 parent a156f58 commit 0f70bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/25-07-24/http-server/ex/login-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
async function post(req){
4141

4242
var body = '';
43-
for(await data of req)body+=data;
43+
for await(data of req)body+=data;
4444
var json = JSON.parse(body);
4545
return json;
4646

0 commit comments

Comments
 (0)