Fix About HTML path
This commit is contained in:
parent
fd2d36e3c3
commit
c2a3bc20f8
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ export const FETCH_ABOUT_PAGE_FAIL = 'FETCH_ABOUT_PAGE_FAIL';
|
||||||
export function fetchAboutPage(slug = 'index') {
|
export function fetchAboutPage(slug = 'index') {
|
||||||
return (dispatch, getState) => {
|
return (dispatch, getState) => {
|
||||||
dispatch({ type: FETCH_ABOUT_PAGE_REQUEST, slug });
|
dispatch({ type: FETCH_ABOUT_PAGE_REQUEST, slug });
|
||||||
return api(getState).get(`/soapbox/about/${slug}.html`).catch(error => {
|
return api(getState).get(`/instance/about/${slug}.html`).catch(error => {
|
||||||
dispatch({ type: FETCH_ABOUT_PAGE_FAIL, slug });
|
dispatch({ type: FETCH_ABOUT_PAGE_FAIL, slug });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue