|
|
@ -50,11 +50,12 @@ export default { |
|
|
|
axios: { |
|
|
|
axios: { |
|
|
|
// 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: '/', |
|
|
|
proxy: true |
|
|
|
proxy: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
proxy: { |
|
|
|
proxy: { |
|
|
|
'/api/v1/': { target: 'http://localhost:8081/', changeOrigin: true }, |
|
|
|
'/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true }, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// Build Configuration: https://go.nuxtjs.dev/config-build
|
|
|
|
// Build Configuration: https://go.nuxtjs.dev/config-build
|
|
|
|