mirror of
https://codeberg.org/ashley/poke
synced 2026-03-03 09:13:45 +00:00
return 404 if errors
This commit is contained in:
@@ -270,7 +270,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||
);
|
||||
}
|
||||
|
||||
if (inv_vid.error) {
|
||||
if (inv_vid?.error) {
|
||||
renderTemplate(res, req, "404.ejs", {
|
||||
v,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user