Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/start/src/server/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export function createBaseHandler(
middleware,
handler: async (e: H3Event) => {
const event = getRequestEvent()!;
const url = new URL(event.request.url);
const pathname = url.pathname;
const pathname = e.url.pathname;

const serverFunctionTest = join("/", SERVER_FN_BASE);
if (pathname.startsWith(serverFunctionTest)) {
Expand Down
Loading