Add timewish routes to backend and frontend; implement routing and UI components for timewish settings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user