We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d18eaca commit 56151c4Copy full SHA for 56151c4
1 file changed
apps/sim/lib/core/utils/with-route-handler.ts
@@ -24,7 +24,8 @@ export function withRouteHandler<T>(handler: RouteHandler<T>): RouteHandler<T> {
24
const requestId = generateRequestId()
25
const startTime = Date.now()
26
const method = request.method
27
- const path = request.nextUrl?.pathname ?? new URL(request.url ?? '/', 'http://localhost').pathname
+ const path =
28
+ request.nextUrl?.pathname ?? new URL(request.url ?? '/', 'http://localhost').pathname
29
30
return runWithRequestContext({ requestId, method, path }, async () => {
31
let response: NextResponse | Response
0 commit comments