add config api endpoint

This commit is contained in:
Jonas Leder 2021-07-11 01:08:48 +02:00
parent 4b4d6680d7
commit 6d20650643

12
public/API/config.php Normal file
View file

@ -0,0 +1,12 @@
<?php
require "./lib/config.php";
$configValue = $_GET['name'];
switch ($configValue){
case "sitekey":
echo($sitekey);
break;
default:
echo("notFound");
}