Add export routes to backend and frontend; implement routing and UI components for data export management
This commit is contained in:
@@ -114,6 +114,10 @@ app.use('/api/invite', authenticateToken, inviteRouter);
|
||||
const watcherRouter = require('./routes/watcher');
|
||||
app.use('/api/watcher', authenticateToken, watcherRouter);
|
||||
|
||||
// Export routes (geschützt) - MIT ID-Hashing
|
||||
const exportRouter = require('./routes/export');
|
||||
app.use('/api/export', authenticateToken, exportRouter);
|
||||
|
||||
// Error handling middleware
|
||||
app.use((err, req, res, next) => {
|
||||
console.error(err.stack);
|
||||
|
||||
Reference in New Issue
Block a user