This commit is contained in:
2026-02-06 11:08:58 +01:00
parent f96993bb3b
commit aa30e33805
5 changed files with 8 additions and 29 deletions

View File

@@ -564,7 +564,7 @@
async function testPHP() {
logDebug('Testing PHP & Webhook...');
try {
const response = await fetch('scripts/add/test.php');
const response = await fetch('/scripts/add/test.php');
if (response.ok) {
const result = await response.json();
logDebug(`PHP: ${result.tests?.php?.version || 'OK'}`);
@@ -588,7 +588,7 @@
async function testForm() {
logDebug('Testing contact form...');
try {
const response = await fetch('scripts/add/send.php', {
const response = await fetch('/scripts/add/send.php', {
method: 'POST',
headers: {
'Content-Type': 'application/json'