Add privacy policy & opt out (requires contact)

This commit is contained in:
Cadence Ember
2026-08-04 14:32:40 +12:00
parent 63a6d37ec2
commit 0034193953
9 changed files with 166 additions and 1 deletions
+6 -1
View File
@@ -123,7 +123,11 @@ as.router.get("/icon.png", defineEventHandler(async event => {
// Routes
pugSync.createRoute(as.router, "/ok", "ok.pug")
if (reg.reg.ooye.bridge_admin_contact) {
pugSync.createRoute(as.router, "/ok", "ok.pug")
}
pugSync.createRoute(as.router, "/opt-out", "opt-out.pug")
pugSync.createRoute(as.router, "/privacy-policy", "privacy-policy.pug")
sync.require("./routes/download-matrix")
sync.require("./routes/download-discord")
@@ -134,5 +138,6 @@ sync.require("./routes/letter-avatar")
sync.require("./routes/link")
sync.require("./routes/log-in-with-matrix")
sync.require("./routes/oauth")
sync.require("./routes/opt-out")
sync.require("./routes/password")
sync.require("./routes/stats")