actually use 404 LOL

This commit is contained in:
ashley 2024-10-28 19:15:11 +00:00
parent 663cbe3cde
commit bc7ffd16e3

View file

@ -225,6 +225,7 @@ module.exports = function (app, config, renderTemplate) {
if (isvld && req.params.v.length >= 10) {
return res.redirect(`/watch?v=${req.params.v}`);
} else {
res.status(404)
return renderTemplate(res, req, "404.ejs", {
isOldWindows,
random