Merge branch 'skip-fetch-soapbox' into 'main'

Don't fetch soapbox.json if frontend_configurations is available

See merge request soapbox-pub/soapbox!3036
environments/review-main-yi2y9f/deployments/4640
Alex Gleason 2024-05-25 16:43:50 +00:00
commit 13c7fbd6e8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -66,7 +66,7 @@ const fetchSoapboxConfig = (host: string | null) =>
dispatch(importSoapboxConfig(data.soapbox_fe, host)); dispatch(importSoapboxConfig(data.soapbox_fe, host));
return data.soapbox_fe; return data.soapbox_fe;
} else { } else {
return dispatch(fetchSoapboxJson(host)); return dispatch(soapboxConfigFail(new Error('Not found'), host));
} }
}); });
} else { } else {