diff --git a/public/index.css b/public/index.css index 27b790c..353d86e 100644 --- a/public/index.css +++ b/public/index.css @@ -26,6 +26,8 @@ body { background-color: var(--main-2); margin: auto; border-radius: 20px; + max-height: 60vh; + overflow-y: auto; } .header, diff --git a/routes/init.js b/routes/init.js index 5dd5da7..9e0e65b 100644 --- a/routes/init.js +++ b/routes/init.js @@ -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: {},