feat: auth middleware

This commit is contained in:
eneller
2026-03-17 00:37:56 +01:00
parent 8be35e9403
commit c6629234e1
3 changed files with 36 additions and 18 deletions

View File

@@ -18,8 +18,8 @@ app.get("/api/health", (req: Request, res: Response) => {
res.json({ status: "OK" });
});
app.use('/api/transactions', transactionsRouter);
app.use('/api/auth', authRouter);
app.use('/api/transactions', transactionsRouter);
const PORT: number = parseInt(process.env.FM_PORT as string) || 3000;