mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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);
|
const server = serve(addr);
|
||||||
|
|
||||||
for await (const request of server) {
|
for await (const request of server) {
|
||||||
await handler(request);
|
handler(request);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue