diff --git a/nuxt.config.js b/nuxt.config.js index 07717e169..03ead829c 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -174,6 +174,9 @@ export default { domain: getDomain(), }, publicRuntimeConfig: { + axios: { + browserBaseURL: process.env.API_URL, + }, ads: { ghostMode: process.env.ENABLE_ADS == null, GeoEdgeId: process.env.GEOEDGE_ID, @@ -184,6 +187,11 @@ export default { base_url: process.env.ARIADNE_URL, }, }, + privateRuntimeConfig: { + axios: { + baseURL: process.env.API_URL, + }, + }, } function getDomain() {