diff --git a/nuxt.config.js b/nuxt.config.js index 83f86e9..60ab918 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -51,12 +51,12 @@ export default { // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 baseURL: '/', browserBaseURL: '/', - //proxy: true + proxy: true }, - /*proxy: { - '/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true }, - },*/ + proxy: { + '/api/v1/': { target: 'http://10.1.1.13:8081/', changeOrigin: true }, + }, // Build Configuration: https://go.nuxtjs.dev/config-build build: {