FIX: **quickly** fix all errors in the media system

This commit is contained in:
Stephan
2022-05-18 08:27:11 +02:00
committed by La_Felx
parent bded472d05
commit 196604599b
4 changed files with 47 additions and 31 deletions
+3 -3
View File
@@ -60,11 +60,11 @@ async function main() {
app.use("/api/role-schemas", roleSchemaRouter);
// Error handling
app.use(defaultErrorHandler); // Not working
app.use("/api/media", mediaRouter);
// Error handling
app.use(defaultErrorHandler); // This has to be the LAST ROUTE
// Disable the media router for now
// app.use("/api/media", mediaRouter);