feat(reading): clean and refactor routing for books -> reading to separate paths

This commit is contained in:
Cory Dransfeldt 2025-05-16 13:03:55 -07:00
parent 8d9455940e
commit d1d107ce36
No known key found for this signature in database
21 changed files with 42 additions and 88 deletions

8
server/utils/routing.php Normal file
View file

@ -0,0 +1,8 @@
<?php
function redirectTo404(): void {
header("Location: /404/", true, 302);
exit();
}
?>