Skip to content

Commit

Permalink
Add mail routes for handling newsletter subscriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelink committed Apr 27, 2024
1 parent 8414988 commit 2cdb35f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import userRoutes from "./user.routes";
import languageRoutes from "./language.routes";
import visitRoutes from "./visit.routes";
import updateRoutes from "./update.routes";
import mailRoutes from "./mail.routes";

export default class Routes {
constructor(app: Application) {
Expand All @@ -17,5 +18,6 @@ export default class Routes {
app.use("/api/language", languageRoutes);
app.use("/api/visit", visitRoutes);
app.use("/api/update", updateRoutes);
app.use("/api/mail", mailRoutes);
}
}

0 comments on commit 2cdb35f

Please sign in to comment.