fix css issues

This commit is contained in:
biglyderv 2025-05-25 21:23:16 -04:00
parent 6e113b54b0
commit c3d1a3c191
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
2 changed files with 7 additions and 0 deletions

View file

@ -117,6 +117,11 @@ async function initr(req, res, next) {
];
}
if (req.path.endsWith('.png')) {
res.sendFile(`${process.cwd()}/public/login.svg`);
return;
}
res.ctx = {
mainPage: '404.ejs',
mainCtx: {},