Deploy frontend on same CT + relative API path

This commit is contained in:
2026-06-13 10:09:09 +01:00
parent 9d5d05725c
commit 7a9135320b

View File

@@ -494,7 +494,7 @@
domain: { input: document.getElementById('domain'), wrapper: document.getElementById('domainWrapper'), error: document.getElementById('domainError') }
};
const API_URL = 'http://192.168.1.121:8080';
const API_URL = ''; // relative — same origin
function validateEmail(v) {
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(v.trim());