generated from nhcarrigan/template
chore: remove noisy logging
All checks were successful
Node.js CI / Lint and Test (push) Successful in 39s
All checks were successful
Node.js CI / Lint and Test (push) Successful in 39s
Pretty sure we are getting pentested. :/
This commit is contained in:
@@ -75,12 +75,10 @@ export const instantiateServer = (lynira: Lynira): void => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (exists === null) {
|
if (exists === null) {
|
||||||
void logger.log("debug", `Link with slug "${slug}" does not exist.`);
|
|
||||||
return await response.redirect("/404");
|
return await response.redirect("/404");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exists.deleted) {
|
if (exists.deleted) {
|
||||||
void logger.log("debug", `Link with slug "${slug}" has been deleted.`);
|
|
||||||
return await response.redirect("/404");
|
return await response.redirect("/404");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user