From 4d5565f0a021891eb185801cc6593fd4d7681312 Mon Sep 17 00:00:00 2001 From: oguz ozturk Date: Sat, 10 Jan 2026 13:31:26 +0300 Subject: [PATCH] Update to domain-based configuration with HTTPS --- frontend/.env.production | 2 ++ frontend/src/services/api.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 frontend/.env.production 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,