various fixes for the blog including prismjs highlighting, colour schemes and embedding media
🚀 Deploy website on push / 🎉 Deploy (push) Failing after 25s

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2024-06-22 17:46:17 +01:00
parent 646cfa6561
commit 558ac03fbb
11 changed files with 29 additions and 22 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/editor.html")->withStatus(302);
return $response->withHeader("Location", "https://rohitpai.co.uk/editor/")->withStatus(302);
}
$response->getBody()->write(json_encode(array("error" => "Unauthorised")));