mirror of
https://github.com/denoland/deno.git
synced 2025-01-13 01:22:20 -05:00
http: remove unnecessary await in listenAndServe()
This commit is contained in:
parent
301c12d9d2
commit
d1971241d9
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