p208p2002 commited on
Commit
1b7780f
1 Parent(s): 90d0bcf

Add missing

Browse files
Files changed (1) hide show
  1. react-qa/src/App.js +1 -1
react-qa/src/App.js CHANGED
@@ -9,7 +9,7 @@ function App() {
9
  const [context,set_context] = useState("My name is Clara and I live in Berkeley.")
10
 
11
  let request_qa_data = () => {
12
- axios.post('http://127.0.0.1:7860/question-answer',{
13
  question,
14
  context
15
  })
 
9
  const [context,set_context] = useState("My name is Clara and I live in Berkeley.")
10
 
11
  let request_qa_data = () => {
12
+ axios.post('/question-answer',{
13
  question,
14
  context
15
  })