Change structure of LawinServer

This commit is contained in:
Lawin0129
2022-02-15 17:45:46 +00:00
parent acf6b1d3d6
commit 63cb770799
28 changed files with 7162 additions and 7102 deletions

11
structure/contentpages.js Normal file
View File

@@ -0,0 +1,11 @@
const Express = require("express");
const express = Express.Router();
const functions = require("./functions.js");
express.get("/content/api/pages/*", async (req, res) => {
const contentpages = functions.getContentPages(req);
res.json(contentpages)
})
module.exports = express;