Browse Source

ohne Proxy

test1
Georg Spar 1 year ago
parent
commit
4a2d9245be
  1. 6
      nuxt.config.js

6
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: {
/*proxy: {
'/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true },
},
},*/
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {

Loading…
Cancel
Save