Browse Source

fix: axios baseurl correction

In the baseurl `/` at the end should be removed

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
pull/301/head
Pranav C 3 years ago
parent
commit
70af0f32e9
  1. 2
      packages/nc-gui/nuxt.config.js

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

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

Loading…
Cancel
Save