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:
commit
13c7fbd6e8
|
@ -66,7 +66,7 @@ const fetchSoapboxConfig = (host: string | null) =>
|
|||
dispatch(importSoapboxConfig(data.soapbox_fe, host));
|
||||
return data.soapbox_fe;
|
||||
} else {
|
||||
return dispatch(fetchSoapboxJson(host));
|
||||
return dispatch(soapboxConfigFail(new Error('Not found'), host));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue