We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 322ad28 + b0084a3 commit ca897c5Copy full SHA for ca897c5
.changeset/hot-knives-hang.md
@@ -0,0 +1,5 @@
1
+---
2
+'@builder.io/qwik-city': patch
3
4
+
5
+FIX: return 404 for missing /build/ files.
packages/qwik-city/src/runtime/src/route-matcher.ts
@@ -23,6 +23,10 @@ function matchRoutePart(
23
pathIdx: number,
24
pathLength: number
25
): PathParams | null {
26
+ if (path.startsWith('/build/')) {
27
+ return null;
28
+ }
29
30
let params: PathParams | null = null;
31
while (routeIdx < routeLength) {
32
const routeCh = route.charCodeAt(routeIdx++);
0 commit comments