groundwork to redo notifications

This commit is contained in:
2026-05-16 11:37:27 -07:00
parent 6833df76c8
commit be88dcea30
5 changed files with 387 additions and 346 deletions
+14
View File
@@ -0,0 +1,14 @@
import { app, globalConfig } from "../index.js"
import { checkTokenNew } from "../liberals/auth.js"
import { logRequest } from "../liberals/logging.js"
import { sendEmail, sendWebhookDiscord } from "../liberals/libnotify.js"
app.post("/api/sendemail", (rreq,rres) => {
})
app.post("/api/notify", (rreq,rres) => {
rres.sendStatus(503)
})
export {app}