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:
parent
a58d794373
commit
79c88a46bb
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ export async function listenAndServe(
|
|||
const server = serve(addr);
|
||||
|
||||
for await (const request of server) {
|
||||
await handler(request);
|
||||
handler(request);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue