Add cors-handling for testing

This commit is contained in:
2023-11-13 22:50:32 +08:00
parent 2bfa19fe24
commit a8bc4fd92e
2 changed files with 42 additions and 0 deletions
+2
View File
@@ -1,5 +1,7 @@
<?php
include_once __DIR__ . "/logging.php";
include_once __DIR__ . "/cors.php";
cors();
define("ROOT_URL", "http://localhost/");
define("ROOT_DIR", "/var/www/localhost/");