mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +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") { |         if (subdomain[0] == "client") { | ||||||
|           data.client = true; |           data.client = true; | ||||||
|         } |         } | ||||||
|         if (req.params.channel_name == "404") { |  | ||||||
|           res.status(404); |  | ||||||
|         } |  | ||||||
|         res.render("layouts/client/channel", data); |         res.render("layouts/client/channel", data); | ||||||
|         //}); |         //}); | ||||||
|       } |       } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user