mirror of
https://github.com/detleph/server.git
synced 2026-09-05 23:44:18 +02:00
FIX: **quickly** fix all errors in the media system
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user