forked from services/password-reset-web
fix: invalid backend API URL
This commit is contained in:
@@ -4,9 +4,9 @@ import 'bootstrap/dist/css/bootstrap.css';
|
||||
|
||||
import axios from 'axios';
|
||||
|
||||
axios.defaults.baseURL = window.location.host.includes('accounts.ecogood.org')
|
||||
? '/api'
|
||||
: '//localhost:8090';
|
||||
axios.defaults.baseURL = process.env.NODE_ENV === 'development'
|
||||
? '//localhost:8090'
|
||||
: '/api';
|
||||
|
||||
import Vue from 'vue';
|
||||
import AppRoot from './AppRoot';
|
||||
|
||||
Reference in New Issue
Block a user