AxL95 commited on
Commit
7205808
·
verified ·
1 Parent(s): 738859e

Update frontend/src/components/ChatInterface.jsx

Browse files
frontend/src/components/ChatInterface.jsx CHANGED
@@ -94,7 +94,7 @@ const ChatInterface = ({
94
  setIsLoading(false);
95
  setIsStreaming(true);
96
 
97
- const response = await fetch('http://localhost:8000/api/chat', {
98
  method: 'POST',
99
  headers: { 'Content-Type': 'application/json' },
100
  credentials: 'include',
 
94
  setIsLoading(false);
95
  setIsStreaming(true);
96
 
97
+ const response = await fetch('/api/chat', {
98
  method: 'POST',
99
  headers: { 'Content-Type': 'application/json' },
100
  credentials: 'include',