host-agnostic configuration of backend URL
This commit is contained in:
parent
ae4d5fdb8f
commit
24d828d420
@ -21,7 +21,7 @@ export default {
|
|||||||
plugins: [{ src: '~/plugins/engine', mode: 'client' }],
|
plugins: [{ src: '~/plugins/engine', mode: 'client' }],
|
||||||
axios: { proxy: true },
|
axios: { proxy: true },
|
||||||
publicRuntimeConfig: {
|
publicRuntimeConfig: {
|
||||||
serverBaseUrl: 'http://localhost:3000/',
|
serverBaseUrl: '/',
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/': 'http://localhost:32039',
|
'/api/': 'http://localhost:32039',
|
||||||
|
Loading…
Reference in New Issue
Block a user