summaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-09-15 05:56:09 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-09-15 05:56:09 -0400
commit5a2758d2f1246fa97d90cd90f8a3b2f8657c1558 (patch)
tree8bd67ca2285d99032d5330f9bbface49f7b5e025 /static/js
parentd7275b97343d7a9d404b1ef666a45af27f9d8641 (diff)
reorganize client-side fragment redirects
Diffstat (limited to 'static/js')
-rw-r--r--static/js/redirect.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/static/js/redirect.js b/static/js/redirect.js
index 1f706b71..2a28e951 100644
--- a/static/js/redirect.js
+++ b/static/js/redirect.js
@@ -11,19 +11,23 @@
const redirects = new Map([
["/#copyright-and-licensing", "/faq#copyright-and-licensing"],
["/usage#default-connections", "/faq#default-connections"],
+ ["/faq#dns", "/faq#custom-dns"],
+ ["/install/cli#fastboot-as-non-root", "/install/cli#flashing-as-non-root"],
+ ["/install/web#fastboot-as-non-root", "/install/web#flashing-as-non-root"],
+
+ // legacy devices
["/releases#marlin-stable", "/faq#legacy-devices"],
- ["/releases#sailfish-stable", "/faq#legacy-devices"],
["/releases#marlin-beta", "/faq#legacy-devices"],
+ ["/releases#sailfish-stable", "/faq#legacy-devices"],
["/releases#sailfish-beta", "/faq#legacy-devices"],
["/releases#taimen-stable", "/faq#legacy-devices"],
- ["/releases#walleye-stable", "/faq#legacy-devices"],
["/releases#taimen-beta", "/faq#legacy-devices"],
+ ["/releases#walleye-stable", "/faq#legacy-devices"],
["/releases#walleye-beta", "/faq#legacy-devices"],
- ["/faq#dns", "/faq#custom-dns"],
+
+ // legacy servers
["/articles/grapheneos-servers#apps.grapheneos.org", "/articles/grapheneos-servers#releases.grapheneos.org"],
["/articles/grapheneos-servers#time.grapheneos.org", "/articles/grapheneos-servers#grapheneos.network"],
- ["/install/cli#fastboot-as-non-root", "/install/cli#flashing-as-non-root"],
- ["/install/web#fastboot-as-non-root", "/install/web#flashing-as-non-root"],
// preserve links to CLI install guide from when it was /install
["/install/#prerequisites", "/install/cli#prerequisites"],