fix(dev): dev server should not overtake app's root error handler (#3165)

This commit is contained in:
Marvin Hagemeister
2025-08-01 10:08:13 +02:00
committed by GitHub
parent a2de5154ec
commit 5f928d2cac
5 changed files with 71 additions and 5 deletions
+5
View File
@@ -294,3 +294,8 @@ export function mergePath(basePath: string, path: string): string {
const s = (basePath !== "" && path === "/") ? "" : path;
return basePath + s;
}
export function toRoutePath(path: string): string {
if (path === "") return "*";
return path;
}