This commit is contained in:
2025-11-30 01:48:31 +01:00
parent e6ab5a0a1f
commit 3ebfb8c7f6
4 changed files with 187 additions and 3 deletions

View File

@@ -25,7 +25,13 @@ if ($path === '') {
switch ($path) {
case '/quickcheck':
require __DIR__ . '/target/quickcheck.php';
$result = quickcheck_handle_request(); // Funktion in quickcheck.php
$result = quickcheck_handle_request();
echo json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
break;
case '/browser.quick.test':
require __DIR__ . '/target/browser.quick.test.php';
$result = browser_quick_test_handle_request();
echo json_encode($result, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
break;