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

@ -26,6 +26,8 @@ body {
background-color: var(--main-2); background-color: var(--main-2);
margin: auto; margin: auto;
border-radius: 20px; border-radius: 20px;
max-height: 60vh;
overflow-y: auto;
} }
.header, .header,

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 = { res.ctx = {
mainPage: '404.ejs', mainPage: '404.ejs',
mainCtx: {}, mainCtx: {},