From 8ba2118a2a1f773ca2a1aa81877fd9ea705494ef Mon Sep 17 00:00:00 2001 From: Orazio <22700499+orazioedoardo@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:30:59 +0100 Subject: [PATCH] fix redirect to eSIM support --- nginx/nginx.conf | 4 ---- static/js/redirect.js | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 48192d43..7f6ccae2 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -271,10 +271,6 @@ http { return 301 /faq#default-connections; } - location = /usage#sandboxed-google-play-esim { - return 301 /usage#esim-support; - } - # redirect away from the old SVG favicon location location = /mask-icon.svg { return 301 /favicon.svg; diff --git a/static/js/redirect.js b/static/js/redirect.js index 7dd4bf81..d1818ec0 100644 --- a/static/js/redirect.js +++ b/static/js/redirect.js @@ -16,6 +16,7 @@ const redirects = new Map([ ["/#upstream", "/faq#upstream"], ["/usage#default-connections", "/faq#default-connections"], + ["/usage#sandboxed-google-play-esim", "/usage#esim-support"], ["/usage#sandboxed-play-services", "/usage#sandboxed-google-play"], ["/usage#sandboxed-play-services-installation", "/usage#sandboxed-google-play-installation"], ["/usage#sandboxed-play-services-limitations", "/usage#sandboxed-google-play-limitations"],