🆙 Update Rare-Value page and fix the loading of the json

This commit is contained in:
duckietm
2026-05-29 08:31:18 +02:00
parent 47e8338570
commit fbcda88cd3
4 changed files with 84 additions and 44 deletions
+3 -1
View File
@@ -65,7 +65,9 @@ const useSoundboardState = () =>
if(!enabled || serverSounds.length || fileLoadStartedRef.current) return;
fileLoadStartedRef.current = true;
const url = GetConfigurationValue<string>('soundboard.sounds.url') || 'configuration/soundboard-sounds.json5';
const url = GetConfigurationValue<string>('soundboard.url')
|| GetConfigurationValue<string>('soundboard.sounds.url')
|| 'configuration/soundboard-sounds.json5';
(async () =>
{