🆙 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
@@ -31,7 +31,9 @@ const useRadioState = () =>
if(loadStartedRef.current) return;
loadStartedRef.current = true;
const url = GetConfigurationValue<string>('radio.stations.url') || 'configuration/radio-stations.json5';
const url = GetConfigurationValue<string>('radio.url')
|| GetConfigurationValue<string>('radio.stations.url')
|| 'configuration/radio-stations.json5';
(async () =>
{