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 // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308
baseURL: '/', baseURL: '/',
browserBaseURL: '/', browserBaseURL: '/',
//proxy: true proxy: true
}, },
/*proxy: { proxy: {
'/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true }, '/api/v1/': { target: 'http://10.1.1.13:8081/', changeOrigin: true },
},*/ },
// Build Configuration: https://go.nuxtjs.dev/config-build // Build Configuration: https://go.nuxtjs.dev/config-build
build: { build: {

Loading…
Cancel
Save