Merge pull request #1219 from Safelite/feature/jzimmerman/INSR-9648

Forced direct page nav while I figure out routing.
This commit is contained in:
Jeremy-Z 2026-05-08 14:49:49 -04:00 committed by GitHub
commit cf539426f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -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';
}
}
}

View file

@ -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,
}
];