mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 09:50:24 +00:00
Fix for 404 not routing to 404 page
This commit is contained in:
@@ -296,9 +296,6 @@ function channel(req, res, next) {
|
||||
if (subdomain[0] == "client") {
|
||||
data.client = true;
|
||||
}
|
||||
if (req.params.channel_name == "404") {
|
||||
res.status(404);
|
||||
}
|
||||
res.render("layouts/client/channel", data);
|
||||
//});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user