AxL95 commited on
Commit
697f248
·
verified ·
1 Parent(s): cd06911

Update frontend/src/components/ChatInterface.jsx

Browse files
frontend/src/components/ChatInterface.jsx CHANGED
@@ -105,7 +105,7 @@ const ChatInterface = ({
105
  setIsStreaming(true); // Commencer le streaming
106
 
107
  // Faire la requête au backend
108
- const response = await fetch('http://localhost:8000/api/chat', {
109
  method: 'POST',
110
  headers: { 'Content-Type': 'application/json' },
111
  credentials: 'include',
 
105
  setIsStreaming(true); // Commencer le streaming
106
 
107
  // Faire la requête au backend
108
+ const response = await fetch('/api/chat', {
109
  method: 'POST',
110
  headers: { 'Content-Type': 'application/json' },
111
  credentials: 'include',