#96 make single-instance - API calls without hardcoded host

This commit is contained in:
Avris 2021-04-02 16:16:28 +02:00
parent 9c6d9a3448
commit b11a0e20c7
1 changed files with 1 additions and 1 deletions

View File

@ -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) {