From 8b33335584afbac74388c4ed16ff1ff7a04e3588 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Mon, 9 Oct 2023 10:48:10 +0100 Subject: Add static page config and handler --- src/app.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app.ts') diff --git a/src/app.ts b/src/app.ts index c43f31d..3370d27 100755 --- a/src/app.ts +++ b/src/app.ts @@ -6,6 +6,7 @@ import frontend from "./routes/frontend.js"; import activitypub from "./routes/activitypub.js"; import event from "./routes/event.js"; import group from "./routes/group.js"; +import staticPages from "./routes/static.js"; import { initEmailService } from "./lib/email.js"; @@ -53,6 +54,7 @@ app.use(express.json({ type: "application/json" })); app.use(express.urlencoded({ extended: true })); // Router // +app.use("/", staticPages); app.use("/", frontend); app.use("/", activitypub); app.use("/", event); -- cgit v1.2.3