mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2026-04-23 09:35:46 +01:00
Attempt to fix routing via client side hooks
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export const handleError = ({ error, event }) => {
|
||||
if (event.url.pathname.startsWith("/repo")) {
|
||||
window.location.href = event.url.pathname;
|
||||
return;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user