fix css issues
This commit is contained in:
parent
6e113b54b0
commit
c3d1a3c191
2 changed files with 7 additions and 0 deletions
|
@ -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