mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 19:02:22 +01:00
11 lines
288 B
JavaScript
11 lines
288 B
JavaScript
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; |