fix: remove unnecessary URL allocation (#2554)
This commit is contained in:
@@ -78,6 +78,7 @@ export function serveMiddleware<T>(
|
||||
|
||||
const ctx = new FreshReqContext<T>(
|
||||
req,
|
||||
new URL(req.url),
|
||||
DEFAULT_CONN_INFO,
|
||||
{},
|
||||
config,
|
||||
|
||||
Reference in New Issue
Block a user