Merge pull request #1219 from Safelite/feature/jzimmerman/INSR-9648
Forced direct page nav while I figure out routing.
This commit is contained in:
commit
cf539426f6
2 changed files with 7 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ export default {
|
|||
else {
|
||||
console.error("Fatal - Unable to bailout on the entry page or bailout page.");
|
||||
// Redirect to a generic static error page on fatal error on entry and bailout page.
|
||||
window.top.location = '/static/error';
|
||||
window.top.location = '/static/error/index.html';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ const routes = [
|
|||
routeData = await GetRouteInfoFromPageName(issPageToUse);
|
||||
}
|
||||
catch ( error ) {
|
||||
window.top.location = '/static/error';
|
||||
window.top.location = '/static/error/index.html';
|
||||
}
|
||||
|
||||
if (routeData[0].name.toLowerCase() === 'error') {
|
||||
|
|
@ -123,6 +123,11 @@ const routes = [
|
|||
});
|
||||
return null;
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "error",
|
||||
path: "/virtual/error",
|
||||
virtual: true,
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue