mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-08 05:30:40 +01:00
Revert "fix: appropriate 404 handling for write API calls"
This reverts commit b6cce75d97.
This commit is contained in:
@@ -55,9 +55,4 @@ Write.reload = async (params) => {
|
||||
});
|
||||
winston.info(`[api] Adding ${pluginRouter.stack.length} route(s) to \`api/v3/plugins\``);
|
||||
router.use('/api/v3/plugins', pluginRouter);
|
||||
|
||||
// 404 handling
|
||||
router.use('/api/v3', (req, res) => {
|
||||
helpers.formatApiResponse(404, res);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user