Skip to content

Commit d5ed30f

Browse files
committed
Fix static endpoint not emitting 404s
This fixes the last failing unit test.
1 parent 8244463 commit d5ed30f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node/routes/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export const register = async (app: App, args: DefaultedArgs): Promise<Disposabl
121121
"/_static",
122122
express.static(rootPath, {
123123
cacheControl: commit !== "development",
124+
fallthrough: false,
124125
}),
125126
)
126127

0 commit comments

Comments
 (0)