fix: URLs relatives pour VaR et Config (bypass proxy corrigé)
Remplace http://localhost:8000 par des URLs relatives (/api/...) pour passer par le proxy Vite/Nginx comme toutes les autres pages. Cause du NetworkError en prod Docker. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { useSources, useUpdateSources, useUpdateApiKeys, useConfig, useAiStatus,
|
||||
import { Settings, Key, Globe, CheckCircle, XCircle, AlertCircle, Save, Eye, EyeOff, Brain, SlidersHorizontal, RefreshCw, Zap, Plus, Trash2, Pencil, X, Lock, Gauge, DollarSign } from 'lucide-react'
|
||||
import clsx from 'clsx'
|
||||
|
||||
const API = 'http://localhost:8000'
|
||||
const API = ''
|
||||
|
||||
const SOURCE_CATEGORIES = {
|
||||
'Flux RSS actifs': ['reuters_world', 'reuters_business', 'reuters_energy', 'ap_top', 'aljazeera', 'ft', 'bloomberg'],
|
||||
|
||||
Reference in New Issue
Block a user