Moved all current routes to individual folders which use a class system and inherit from an interface. Moved rest of the files for a better structure and for readability. Each editable cms should have its own folder with a routes class file and data class file
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
document.addEventListener("DOMContentLoaded", _ =>
|
||||
{
|
||||
// check if the user is logged in and if so load the editor
|
||||
// check if the userData is logged in and if so load the editor
|
||||
fetch("/api/user/isLoggedIn").then(res =>
|
||||
{
|
||||
if (res.ok)
|
||||
|
||||
Reference in New Issue
Block a user