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

@@ -35,7 +35,7 @@ const form = `
document.getElementById("confirm-add").addEventListener("click", () => {
document.getElementById("new-entry-form-modal").style.display = "none";
const url = "http://localhost:3000/nov-vnos";
const url = "https://ssnj.dcrubro.com/api/nov-vnos";
let content = document.getElementById("content").value;
const key = document.getElementById("key").value;
const examples = document.getElementById("examples").value ? "Primer: " + document.getElementById("examples").value : "Ni podanih primerov.";