Skip to content

Commit

Permalink
fix: ignore query string when routing (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Sep 8, 2023
1 parent b2d1b52 commit d9701ae
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.originalUrl);
const result = router.lookup(req.path);

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

0 comments on commit d9701ae

Please sign in to comment.