mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: broken post uploads due to 6a976a9db0
This commit is contained in:
@@ -44,7 +44,7 @@ module.exports = function (app, middleware, controllers) {
|
||||
middleware.applyCSRF,
|
||||
];
|
||||
|
||||
router.post('/post/upload', middlewares, helpers.tryRoute(uploadsController.uploadPost));
|
||||
router.post('/post/upload', postMiddlewares, helpers.tryRoute(uploadsController.uploadPost));
|
||||
router.post('/user/:userslug/uploadpicture', [
|
||||
...middlewares,
|
||||
...postMiddlewares,
|
||||
|
||||
Reference in New Issue
Block a user