From 6a09c230d1f6cc5b67539dba88e1c2f24fa71b28 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 24 Oct 2022 18:59:53 +1100 Subject: rearrange test client's index a bit --- assets/cacheMisses | 5 ++ assets/client_test/developers.html | 1 - assets/client_test/index.html | 146 ++++++++++++++++---------------- assets/preload-plugins/autoRegister.js | 62 -------------- assets/preload-plugins/checkLocale.js | 46 ++++++++++ assets/preload-plugins/loginRedirect.js | 27 +++--- assets/public/checkLocale.js | 47 ---------- 7 files changed, 136 insertions(+), 198 deletions(-) delete mode 100644 assets/preload-plugins/autoRegister.js create mode 100644 assets/preload-plugins/checkLocale.js delete mode 100644 assets/public/checkLocale.js (limited to 'assets') diff --git a/assets/cacheMisses b/assets/cacheMisses index 056f4d66..2f68a713 100644 --- a/assets/cacheMisses +++ b/assets/cacheMisses @@ -183,3 +183,8 @@ dbdc2f57ed1a7f2f01a342ab2e6fb032.svg 9a31e0f65d520cc12d7f42374d59a2d1.svg d759f3acc6286c964cc8118d7f68b374.svg eeacc28d3c62a7cf1154a2bc11968ad8.svg +9fa091f676e4451ee5946fed948cb8fe.svg +7c010dc6da25c012643ea22c1f002bb4.svg +9ea87b934848cd1f5c4bc7f1fcdac803.png +626aaed496ac12bbdb68a86b46871a1f.svg +66f6c781fe86c346fbaf3390618668fc.svg diff --git a/assets/client_test/developers.html b/assets/client_test/developers.html index 2a4402d7..1673e982 100644 --- a/assets/client_test/developers.html +++ b/assets/client_test/developers.html @@ -26,7 +26,6 @@ ALGOLIA_KEY: "aca0d7082e4e63af5ba5917d5e96bed0" }; GLOBAL_ENV.MEDIA_PROXY_ENDPOINT = location.protocol + "//" + GLOBAL_ENV.CDN_HOST; - const localStorage = window.localStorage; // TODO: remote auth // window.GLOBAL_ENV.REMOTE_AUTH_ENDPOINT = window.GLOBAL_ENV.GATEWAY_ENDPOINT.replace(/wss?:/, ""); localStorage.setItem("gatewayURL", window.GLOBAL_ENV.GATEWAY_ENDPOINT); diff --git a/assets/client_test/index.html b/assets/client_test/index.html index 7a3e4695..da6e2854 100644 --- a/assets/client_test/index.html +++ b/assets/client_test/index.html @@ -1,80 +1,78 @@ -
- - -