[O] Easier production switch

This commit is contained in:
Hykilpikonna
2021-12-26 19:58:19 -05:00
parent 59a65b5003
commit ed6cf35be8
+3 -2
View File
@@ -1,5 +1,6 @@
// export const backendUrl = 'http://localhost:5000'
const production = true
export const hosts = {
api: 'https://profile-api.hydev.org',
content: 'https://profile-content.hydev.org'
content: production ? 'https://profile-content.hydev.org' : 'http://localhost:8082'
}