[O] Easier production switch
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// export const backendUrl = 'http://localhost:5000'
|
const production = true
|
||||||
|
|
||||||
export const hosts = {
|
export const hosts = {
|
||||||
api: 'https://profile-api.hydev.org',
|
api: 'https://profile-api.hydev.org',
|
||||||
content: 'https://profile-content.hydev.org'
|
content: production ? 'https://profile-content.hydev.org' : 'http://localhost:8082'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user