diff --git a/ui/src/chronograf/actions/view/index.js b/ui/src/chronograf/actions/view/index.js index 13e0caf35..e2246d544 100644 --- a/ui/src/chronograf/actions/view/index.js +++ b/ui/src/chronograf/actions/view/index.js @@ -147,7 +147,7 @@ export function createExploration(source, push) { return (dispatch) => { const initialState = getInitialState(); AJAX({ - url: `${source.links.self}/users/1/explorations`, // TODO: change this to use actual user link once users are introduced + url: `/chronograf/v1/users/1/explorations`, // TODO: change this to use actual user link once users are introduced method: 'POST', data: JSON.stringify({ data: JSON.stringify(initialState), @@ -236,7 +236,7 @@ export function fetchExplorers({source, userID, explorerURI, push}) { return (dispatch) => { dispatch({type: 'FETCH_EXPLORERS'}); AJAX({ - url: `${source.links.self}/users/${userID}/explorations`, + url: `/chronograf/v1/users/${userID}/explorations`, }).then(({data: {explorations}}) => { const explorers = explorations.map(parseRawExplorer); dispatch(loadExplorers(explorers));