Make api url configurable in index.html
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import axios from 'axios'
|
||||
let config = require('../../public/config.json')
|
||||
|
||||
export const HTTP = axios.create({
|
||||
baseURL: config.VIKUNJA_API_BASE_URL
|
||||
baseURL: window.API_URL
|
||||
})
|
||||
|
Reference in New Issue
Block a user