Skip to content

Commit

Permalink
Revert "fix: appropriate 404 handling for write API calls"
Browse files Browse the repository at this point in the history
This reverts commit b6cce75.
  • Loading branch information
barisusakli committed Oct 17, 2020
1 parent 9ee3cb9 commit 135c2d6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/routes/write/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
};

0 comments on commit 135c2d6

Please sign in to comment.