mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-05-10 23:33:07 +00:00
Rae from website
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
453a143bfa
commit
a3e6df6ce8
13 changed files with 691 additions and 35 deletions
4
main.ts
4
main.ts
|
@ -58,6 +58,10 @@ object-src 'none'; base-uri 'none';"
|
|||
);
|
||||
return next();
|
||||
});
|
||||
app.use((req, res, next) => {
|
||||
console.log(`${req.ip.padEnd(24)} ${req.method.padStart(8)} ${req.path}`);
|
||||
return next();
|
||||
})
|
||||
|
||||
await init(app, db);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue