Skip to content

Commit 023b89b

Browse files
authored
Merge pull request #207 from swiftss-org/staging
Sync production
2 parents f6ac296 + 48a4c04 commit 023b89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/axiosInstances.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ const PUT = 'put';
77
const PATCH = 'patch';
88
const DELETE = 'delete';
99

10-
const BASE_URL = 'https://tmh-registry-api-staging.herokuapp.com/api';
10+
const BASE_URL = process.env.REACT_APP_API_BASE_URL || 'https://tmh-registry-api-staging.herokuapp.com';
1111

1212
export const METHODS = { GET, POST, PUT, DELETE, PATCH };
1313

1414
export const orfiumAxios = axios.create({
15-
baseURL: BASE_URL + '/v1',
15+
baseURL: BASE_URL + '/api/v1',
1616
});
1717

1818
/**

0 commit comments

Comments
 (0)