forked from magonysandormate/PeePal
HTTPS készítés folyamatban...
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user