Add timewish routes to backend and frontend; implement routing and UI components for timewish settings

This commit is contained in:
Torsten Schulz (local)
2025-10-17 23:20:13 +02:00
parent 4fe6b27b8f
commit 876c2964dd
7 changed files with 750 additions and 0 deletions

View File

@@ -98,6 +98,10 @@ app.use('/api/profile', authenticateToken, profileRouter);
const passwordRouter = require('./routes/password');
app.use('/api/password', authenticateToken, passwordRouter);
// Timewish routes (geschützt) - MIT ID-Hashing
const timewishRouter = require('./routes/timewish');
app.use('/api/timewish', authenticateToken, timewishRouter);
// Error handling middleware
app.use((err, req, res, next) => {
console.error(err.stack);