Deploy frontend on same CT + relative API path
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user