2
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user