return 404 if errors

This commit is contained in:
ashley 2024-05-04 05:28:55 +00:00
parent d4521153b1
commit a0cebd409c

View file

@ -270,7 +270,7 @@ module.exports = function (app, config, renderTemplate) {
);
}
if (inv_vid.error) {
if (inv_vid?.error) {
renderTemplate(res, req, "404.ejs", {
v,
});