mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 04:28:03 +01:00
return 404 if errors
This commit is contained in:
parent
d4521153b1
commit
a0cebd409c
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
);
|
||||
}
|
||||
|
||||
if (inv_vid.error) {
|
||||
if (inv_vid?.error) {
|
||||
renderTemplate(res, req, "404.ejs", {
|
||||
v,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue