Skip to content

Commit

Permalink
fix(core): use originalUrl for dev routing (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored Sep 30, 2023
1 parent 4ecac12 commit 4fdd115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function createServer() {

const router = routerForModules(routeModules);

const result = router.lookup(req.path);
const result = router.lookup(req.originalUrl);

if (!result) {
res.status(404).end("404");
Expand Down

0 comments on commit 4fdd115

Please sign in to comment.