mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
move category pageview to controllers
so topic views are tracked as category views
This commit is contained in:
@@ -53,7 +53,6 @@ middleware.stripLeadingSlashes = function (req, res, next) {
|
||||
middleware.pageView = function (req, res, next) {
|
||||
analytics.pageView({
|
||||
ip: req.ip,
|
||||
path: req.path,
|
||||
uid: req.uid,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user