Attempt to fix routing via client side hooks

This commit is contained in:
2025-01-24 09:18:36 +00:00
parent 43d6092309
commit 66fea04b9b

6
src/hooks.client.js Normal file
View File

@@ -0,0 +1,6 @@
export const handleError = ({ error, event }) => {
if (event.url.pathname.startsWith("/repo")) {
window.location.href = event.url.pathname;
return;
}
};