hub-server deploy

This commit is contained in:
nocnico
2025-05-26 23:57:21 +02:00
parent 6c5b2f89c6
commit e925315293
5 changed files with 53 additions and 23 deletions

View File

@@ -2,7 +2,7 @@ import { Router } from "express";
import { sendMail } from "modules/mail";
import { sendPasswordChanged, sendCourseCompletedEmail } from "modules/mail";
const router = Router();
const router: Router = Router();
router.post("/send", async (req, res) => {
const { to, subject, html } = req.body;

View File

@@ -1,7 +1,7 @@
import { Router } from "express";
import mailRouter from "./mail";
const router = Router();
const router: Router = Router();
router.use("/mail", mailRouter);