1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 02:14:39 -05:00

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", { renderTemplate(res, req, "404.ejs", {
v, v,
}); });