HTTPS készítés folyamatban...

This commit is contained in:
Sándor Máté Magony
2025-04-11 13:21:08 +02:00
parent 3f0465fb5a
commit 7faeb32b14
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export default function HozzaadForm() {
koordinatak: koordinatak
}
fetch("http://192.168.0.78:8000/api/hozzaadas", {
fetch("http://localhost:8000/api/hozzaadas", {
method: "POST",
headers: {
"Content-Type": "application/json"

View File

@@ -1,6 +1,6 @@
export async function mosdokFetch() {
try {
const response = await fetch('http://192.168.0.78:8000/api/mosdok');
const response = await fetch('http://localhost:8000/api/mosdok');
if (!response.ok) {
throw new Error(`Hiba: ${response.status}`);
}