diff --git a/web/index.php b/web/index.php index cac44bc..0ed24f4 100644 --- a/web/index.php +++ b/web/index.php @@ -46,6 +46,12 @@ function opengraph(string $url) : array return json_decode(json_encode($object), true); } +SimpleRouter::get('/', function() { + return response() + ->httpCode(200) + ->json([]); +}); + SimpleRouter::get('/do/{parser}', function ($parser) { $url = input()->get('url')->value;