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

Don't fetch soapbox.json if frontend_configurations is available

See merge request soapbox-pub/soapbox!3036
This commit is contained in:
Alex Gleason 2024-05-25 16:43:50 +00:00
commit 13c7fbd6e8
1 changed files with 1 additions and 1 deletions

View File

@ -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 {