Add ping endpoint for health check

This commit is contained in:
bobban committed 2026-06-02 01:25:06 +02:00
1 parent 7e3ac4d1d4
commit f6133116a2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ app.use(cors());
app.use(express.json());
// ─── Public routes (no auth required) ────────────────────────────────────────
app.get('/api/ping', (req, res) => res.json({ ok: true }));
app.use('/api/auth', authRouter);
// ─── Protected routes (JWT required) ─────────────────────────────────────────