menjava domene

This commit is contained in:
2026-05-09 22:09:03 +02:00
parent e60826b8d9
commit 6e9efd2dbc
9 changed files with 178 additions and 12 deletions

View File

@@ -16,7 +16,7 @@ document.addEventListener("DOMContentLoaded", () => {
document.getElementById("contact-form").addEventListener("submit", (e) => {
e.preventDefault();
const url = "http://localhost:3000/kontakt";
const url = "https://ssnj.dcrubro.com/api/kontakt";
const message = document.getElementById("message").value;
fetch(url, {
method: "POST",