fix: redirect everything to index.php

This commit is contained in:
Johannes Kantz
2022-12-08 14:52:20 +01:00
parent 63f7ef5eee
commit 928584c92a
2 changed files with 5 additions and 0 deletions

View File

@@ -13,4 +13,8 @@ $app->get("/", function (array $req, Response $res) {
$res->send("Hello World");
});
$app->get("/user", function (array $req, Response $res) {
$res->send("user");
});
$app->start();