mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
return 404 if errors
This commit is contained in:
parent
d4521153b1
commit
a0cebd409c
@ -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 New Issue
Block a user