Spaces:
Running
Running
axeronis commited on
Commit ·
dd360b8
1
Parent(s): bff9142
chore(frontend): trigger rebuild to pick up new HTTPS env var
Browse files- frontend/lib/api.ts +1 -0
frontend/lib/api.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import axios from 'axios'
|
| 2 |
|
| 3 |
const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000'
|
|
|
|
| 4 |
|
| 5 |
export const api = axios.create({
|
| 6 |
baseURL: API_BASE_URL,
|
|
|
|
| 1 |
import axios from 'axios'
|
| 2 |
|
| 3 |
const API_BASE_URL = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000'
|
| 4 |
+
console.log('🔗 API URL:', API_BASE_URL)
|
| 5 |
|
| 6 |
export const api = axios.create({
|
| 7 |
baseURL: API_BASE_URL,
|