Update to domain-based configuration with HTTPS
This commit is contained in:
parent
e036139490
commit
4d5565f0a0
|
|
@ -0,0 +1,2 @@
|
||||||
|
VITE_API_URL=https://api.argeict.net
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
const API_BASE_URL = import.meta.env.VITE_API_URL || 'http://176.96.129.77:5000'
|
const API_BASE_URL = import.meta.env.VITE_API_URL || 'https://api.argeict.net'
|
||||||
|
|
||||||
const api = axios.create({
|
const api = axios.create({
|
||||||
baseURL: API_BASE_URL,
|
baseURL: API_BASE_URL,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue