Final fixes to the website which should have been committed in the previous branch :(

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2023-02-25 20:17:09 +00:00
parent b3b0401420
commit 2394f9691e
14 changed files with 14 additions and 18 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class middleware
$app->add(new JwtAuthentication([
"rules" => [
new RequestPathRule([
"path" => ["/api/projectData", "/api/timeline/[a-z]*", "/api/logout"],
"path" => ["/api/projectData", "/api/timelineData/[a-z]*", "/api/projectImage/[0-9]*", "/api/logout"],
"ignore" => ["/api/contact", "/api/user/login", "/api/user/changePassword"]
]),
new RequestMethodRule([