1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

http: remove unnecessary await in listenAndServe()

Original: d1971241d9
This commit is contained in:
Bert Belder 2019-05-20 17:08:39 -07:00
parent a58d794373
commit 79c88a46bb

View file

@ -312,7 +312,7 @@ export async function listenAndServe(
const server = serve(addr);
for await (const request of server) {
await handler(request);
handler(request);
}
}