Browse Source

chore: revise based on comments

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/292/head
Wing-Kam Wong 4 years ago
parent
commit
0ad0e00b16
  1. 2
      packages/nc-gui/nuxt.config.js

2
packages/nc-gui/nuxt.config.js

@ -90,7 +90,7 @@ export default {
** See https://axios.nuxtjs.org/options ** See https://axios.nuxtjs.org/options
*/ */
axios: { axios: {
baseURL: process.env.NC_BACKEND_URL || 'http://localhost:8080', baseURL: baseURL: process.env.NC_BACKEND_URL || (process.env.NODE_ENV === 'production' ? '../' : 'http://localhost:8080/'),
}, },
/* /*
** vuetify module configuration ** vuetify module configuration

Loading…
Cancel
Save