refactor: change uri api to production
This commit is contained in:
parent
14af22ff30
commit
4613a5cf01
@ -18,9 +18,9 @@ export default function getAPIClient(
|
|||||||
const { '@smartAuth-token': token } = parseCookies(ctx)
|
const { '@smartAuth-token': token } = parseCookies(ctx)
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
// baseURL: 'https://api.energiasmart.com.br/api'
|
baseURL: 'https://api.energiasmart.com.br/api'
|
||||||
// baseURL: 'https://api.energiasmart.klupp.com.br/api'
|
// baseURL: 'https://api.energiasmart.klupp.com.br/api'
|
||||||
baseURL: 'http://api-smart.test/api'
|
// baseURL: 'http://api-smart.test/api'
|
||||||
})
|
})
|
||||||
|
|
||||||
api.interceptors.request.use((config) => {
|
api.interceptors.request.use((config) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user