This commit is contained in:
Leo Wen
2025-01-22 21:53:43 -08:00
parent 4e25d8f15e
commit 8371f9c799
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ function App() {
async function handleSearch() {
try {
var response = await fetch(`http://192.168.1.202:4000/search/?q=${query}`);
var response = await fetch(`http://172.249.53.117:4000/search/?q=${query}`);
var data = await response.json();
console.log(data);
setSyllabi(data);
@@ -63,7 +63,7 @@ function App() {
formdata.append("email", email);
formdata.append("name", name);
fetch(`http://192.168.1.202:4000/create`, {
fetch(`http://172.249.53.117:4000/create`, {
method: 'POST',
body: formdata,
})