fix(dev): dev server should not overtake app's root error handler (#3165)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user