groundwork to redo notifications
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user