diff --git a/AquaNet/.env.example b/AquaNet/.env.example index 4305f6e6..4e13e9d1 100644 --- a/AquaNet/.env.example +++ b/AquaNet/.env.example @@ -1,7 +1,10 @@ +# This should reference your AquaDX instance's :80 port. +# Sometimes issues with CORS may appear, the easiest fix is to use a reverse proxy like Caddy to put AquaDX on the /aqua path, +# and set this to match the /aqua path (see example below) VITE_AQUA_HOST=https://aquadx.net/aqua -# Link to datas (eg, songid, information, etc). -# Leave this as is if you do not have the data. +# Link to converted game data (ex: all_music.json, all_items.json, etc.) +# Profile pictures are also served through this path, you may want to disable profile pictures if using the primary instance for data fetching VITE_DATA_HOST=https://aquadx.net VITE_AQUA_CONNECTION=aquadx.hydev.org diff --git a/AquaNet/src/components/settings/GeneralGameSettings.svelte b/AquaNet/src/components/settings/GeneralGameSettings.svelte index 30111a37..61e041d4 100644 --- a/AquaNet/src/components/settings/GeneralGameSettings.svelte +++ b/AquaNet/src/components/settings/GeneralGameSettings.svelte @@ -1,32 +1,67 @@ - -
-
- {ts("settings.siteNotice")} -
-
-
- - +{#if !loading} +
+
+ {ts("settings.siteNotice")} +
+
+
+ + +
+
+
+ submit('displayCandidates', me.displayCandidates.toString())}/> + +
+
+
+
+ {ts("settings.regionNotice")} +
+
-
-
- {ts("settings.regionNotice")} -
- -
+{/if} + +