2
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
|
||||
const API_ENDPOINT = 'scripts/add/send.php';
|
||||
// Use absolute path from site root
|
||||
const API_ENDPOINT = '/scripts/add/send.php';
|
||||
const isLocalFile = window.location.protocol === 'file:';
|
||||
|
||||
// ==========================================
|
||||
|
||||
Reference in New Issue
Block a user