Browse Source

proxy aktualisiert

test1
Georg Spar 1 year ago
parent
commit
24a61d8e37
  1. 8
      nuxt.config.js

8
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: {

Loading…
Cancel
Save