Fix base URL conflicting with default axios ones (#243)

This commit is contained in:
Geometrically 2021-05-28 12:43:44 -07:00 committed by GitHub
parent e22a586a41
commit cd8bc7a7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,7 @@ export default {
},
publicRuntimeConfig: {
axios: {
browserBaseURL: process.env.API_URL,
browserBaseURL: process.env.BROWSER_BASE_URL,
},
ads: {
ghostMode: process.env.ENABLE_ADS == null,
@ -189,7 +189,7 @@ export default {
},
privateRuntimeConfig: {
axios: {
baseURL: process.env.API_URL,
baseURL: process.env.BASE_URL,
},
},
}