#96 make single-instance - API calls without hardcoded host
This commit is contained in:
parent
9c6d9a3448
commit
b11a0e20c7
|
@ -153,7 +153,7 @@ export default {
|
||||||
},
|
},
|
||||||
serverMiddleware: ['~/server/index.js'],
|
serverMiddleware: ['~/server/index.js'],
|
||||||
axios: {
|
axios: {
|
||||||
baseURL: process.env.BASE_URL + '/api',
|
baseURL: '/api',
|
||||||
},
|
},
|
||||||
router: {
|
router: {
|
||||||
extendRoutes(routes, resolve) {
|
extendRoutes(routes, resolve) {
|
||||||
|
|
Reference in New Issue