diff --git a/frontend/public/config.json b/frontend/public/config.json index ba4206b4b..36a1f84be 100644 --- a/frontend/public/config.json +++ b/frontend/public/config.json @@ -1,3 +1,3 @@ { - "API_BASE_URL": "http://localhost:8000/api/v2" + "API_BASE_URL": "/api/v2/" } diff --git a/frontend/vue.config.js b/frontend/vue.config.js index 2ae460b7a..dac3abd47 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -1,4 +1,11 @@ module.exports = { + devServer: { + proxy: { + '/api': { + target: 'http://localhost:8000/' + } + } + }, transpileDependencies: [ 'vuetify' ]