fix css issues
This commit is contained in:
parent
6e113b54b0
commit
c3d1a3c191
2 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,8 @@ body {
|
|||
background-color: var(--main-2);
|
||||
margin: auto;
|
||||
border-radius: 20px;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.header,
|
||||
|
|
|
@ -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: {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue