Skip to content

Commit 15b4237

Browse files
committed
updated API path
1 parent 4f1a6f4 commit 15b4237

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/lib/project-fetcher-hoc.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ const ProjectFetcherHOC = function (WrappedComponent) {
199199
vm: PropTypes.instanceOf(VM)
200200
};
201201
ProjectFetcherComponent.defaultProps = {
202-
assetHost: API_HOST + '/API/assets',
203-
projectHost: API_HOST + '/API/projects',
202+
assetHost: API_HOST + '/assets',
203+
projectHost: API_HOST + '/projects',
204204
};
205205

206206
const mapStateToProps = state => ({

‎src/lib/tw-project-meta-fetcher-hoc.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import {setAuthor, setDescription} from '../reducers/tw';
1111

1212
export const fetchProjectMeta = async projectId => {
1313
const urls = [
14-
API_HOST+`/API/projectsMETA?${projectId}`,
15-
API_HOST+`/API/projectsMETA?${projectId}`
14+
API_HOST+`/projectsMETA?${projectId}`,
15+
API_HOST+`/projectsMETA?${projectId}`
1616
];
1717
let firstError;
1818
for (const url of urls) {

0 commit comments

Comments
 (0)