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 4 years ago
parent
commit
70af0f32e9
  1. 4
      packages/nc-gui/nuxt.config.js

4
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
@ -233,4 +233,4 @@ export default {
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
*/

Loading…
Cancel
Save