diff --git a/frontend/.env.production b/frontend/.env.production new file mode 100644 index 0000000..e79deaa --- /dev/null +++ b/frontend/.env.production @@ -0,0 +1,2 @@ +VITE_API_URL=https://api.argeict.net + diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index 59c773f..5c4ea6c 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -1,6 +1,6 @@ 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({ baseURL: API_BASE_URL,