Skip to content

Commit

Permalink
fix forwarding (#198)
Browse files Browse the repository at this point in the history
* make /qa forward to oldqa.

* substring(3) not 8
  • Loading branch information
mscroggs authored Nov 15, 2024
1 parent 27771e1 commit 9d1fdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/_404_redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
window.location.assign("https://olddocs.fenicsproject.org/")
}
if(url.startsWith("qa/")){
window.location.assign("https://oldqa.fenicsproject.org/" + url.substring(8))
window.location.assign("https://oldqa.fenicsproject.org/" + url.substring(3))
}
if(url == "qa"){
window.location.assign("https://oldqa.fenicsproject.org/")
Expand Down

0 comments on commit 9d1fdc5

Please sign in to comment.