Various fixes for the blog and editor. As well as finally adding in the carousel!
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 24s

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2024-11-04 22:17:42 +00:00
parent 7d6eeb2310
commit b28e7b2da5
13 changed files with 2287 additions and 944 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class userRoutes implements routesInterface
$inactive = 60 * 60 * 48; // 2 days
$_SESSION["timeout"] = time() + $inactive;
return $response->withHeader("Location", "https://rohitpai.co.uk/editor/")->withStatus(302);
return $response->withHeader("Location", "https://rohitpai.co.uk/editor/")->withStatus(302);
}
$response->getBody()->write(json_encode(array("error" => "Unauthorised")));