mirror of
https://github.com/Leado123/Leado123.github.io.git
synced 2026-10-01 00:32:59 +00:00
t
This commit is contained in:
+4
-1
@@ -8,7 +8,9 @@
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"predeploy": "bun run build",
|
||||
"deploy": "gh-pages -d dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.12.6",
|
||||
@@ -16,6 +18,7 @@
|
||||
"autoprefixer": "^10.4.20",
|
||||
"flowbite": "^2.5.2",
|
||||
"flowbite-react": "^0.10.2",
|
||||
"gh-pages": "^6.3.0",
|
||||
"graphql": "^16.10.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
|
||||
+2
-2
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user