Skip to content

Commit

Permalink
Fix issue with base_url var
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Nov 24, 2021
1 parent 6b3a6e0 commit b16fe19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/services/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import router from '../router/index';
import {SharedBuefy} from './sharedBuefy';

axios.defaults.baseURL = process.env.VUE_APP_BASE_URL
? process.env.VUE_APP_BASE_URL
? `${process.env.VUE_APP_BASE_URL}/api`
: '/api';

axios.interceptors.request.use(config => {
Expand Down

0 comments on commit b16fe19

Please sign in to comment.