mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 00:58:58 +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", {
|
renderTemplate(res, req, "404.ejs", {
|
||||||
v,
|
v,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue