fix: remove unnecessary URL allocation (#2554)

This commit is contained in:
Marvin Hagemeister
2024-06-27 12:34:56 +02:00
committed by GitHub
parent bfb5753ecb
commit 138d4c457c
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -78,6 +78,7 @@ export function serveMiddleware<T>(
const ctx = new FreshReqContext<T>(
req,
new URL(req.url),
DEFAULT_CONN_INFO,
{},
config,