Tristan Yu commited on
Commit ·
4632a1e
1
Parent(s): 297178a
Force rebuild with API URL fix - add comment to ensure changes are picked up
Browse files- src/services/api.ts +2 -1
src/services/api.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import axios from 'axios';
|
| 2 |
|
| 3 |
// Create axios instance with base configuration
|
|
|
|
| 4 |
const api = axios.create({
|
| 5 |
baseURL: 'https://linguabot-transcreation-backend.hf.space/api',
|
| 6 |
headers: {
|
|
@@ -10,7 +11,7 @@ const api = axios.create({
|
|
| 10 |
});
|
| 11 |
|
| 12 |
// Debug: Log the API URL being used
|
| 13 |
-
console.log('🔧 API CONFIGURATION DEBUG:');
|
| 14 |
console.log('API Base URL: https://linguabot-transcreation-backend.hf.space/api');
|
| 15 |
console.log('Environment variables:', {
|
| 16 |
REACT_APP_API_URL: process.env.REACT_APP_API_URL,
|
|
|
|
| 1 |
import axios from 'axios';
|
| 2 |
|
| 3 |
// Create axios instance with base configuration
|
| 4 |
+
// FORCE REBUILD: Updated API URL to fix production build
|
| 5 |
const api = axios.create({
|
| 6 |
baseURL: 'https://linguabot-transcreation-backend.hf.space/api',
|
| 7 |
headers: {
|
|
|
|
| 11 |
});
|
| 12 |
|
| 13 |
// Debug: Log the API URL being used
|
| 14 |
+
console.log('🔧 API CONFIGURATION DEBUG - REBUILD FORCED:');
|
| 15 |
console.log('API Base URL: https://linguabot-transcreation-backend.hf.space/api');
|
| 16 |
console.log('Environment variables:', {
|
| 17 |
REACT_APP_API_URL: process.env.REACT_APP_API_URL,
|