Skip to content

Commit

Permalink
fix: fix it again argh
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Jul 30, 2024
1 parent 775d045 commit 340ee08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class App {
&& (window.location.pathname + "/") != this.base_url) {
// HACK: this is only when we refer to a full bylaw
if (window.location.hash) {
window.location.assign(ALEXI_URL + "/" + window.location.pathname + window.location.hash);
window.location.assign(ALEXI_URL
+ window.location.pathname.replace("/serafim", "")
+ window.location.hash);
return;
}
this.show_document(window.location.pathname);
Expand Down

0 comments on commit 340ee08

Please sign in to comment.