This commit is contained in:
2025-11-30 03:28:17 +01:00
parent c7e355c1ea
commit 733e3fad1b
2 changed files with 6 additions and 7 deletions

View File

@@ -27,14 +27,12 @@ function router_v1_dispatch(array $segments): void
switch ($endpoint) {
case 'quickcheck':
$file = require_once $_SERVER['DOCUMENT_ROOT'] . '/../config/db.php'; // stellt $pdo (PDO) bereit
'/v1/target/quickcheck.php';
$file = $apibasedir. '/v1/target/quickcheck.php';
$handler = 'quickcheck_handle_request';
break;
case 'browser.quick.test':
$file = require_once $_SERVER['DOCUMENT_ROOT'] . '/../config/db.php'; // stellt $pdo (PDO) bereit
'/v1/result/browser.quick.test.php';
$file = $apibasedir. '/v1/result/browser.quick.test.php';
$handler = 'browser_quick_test_handle_request';
break;