diff --git a/src/server/app.ts b/src/server/app.ts index 63b28a2..35539db 100644 --- a/src/server/app.ts +++ b/src/server/app.ts @@ -69,6 +69,10 @@ app.get('/health', (req, res) => { res.json({ status: 'ok', timestamp: new Date(), auth: 'logto' }); }); +app.get('/api/test', (req, res) => { + res.json({ status: 'ok', message: 'Test endpoint working' }); +}); + // SPA fallback - must be last app.use((req, res, next) => { res.sendFile(path.join(distPath, 'index.html'));