|
|
@ -55,9 +55,4 @@ Write.reload = async (params) => {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
winston.info(`[api] Adding ${pluginRouter.stack.length} route(s) to \`api/v3/plugins\``);
|
|
|
|
winston.info(`[api] Adding ${pluginRouter.stack.length} route(s) to \`api/v3/plugins\``);
|
|
|
|
router.use('/api/v3/plugins', pluginRouter);
|
|
|
|
router.use('/api/v3/plugins', pluginRouter);
|
|
|
|
|
|
|
|
|
|
|
|
// 404 handling
|
|
|
|
|
|
|
|
router.use('/api/v3', (req, res) => {
|
|
|
|
|
|
|
|
helpers.formatApiResponse(404, res);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|