mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-02-12 08:02:06 +00:00
nest hacky fix
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
a2e568e751
commit
85b19ea0cb
1 changed files with 1 additions and 1 deletions
2
main.ts
2
main.ts
|
@ -71,7 +71,7 @@ object-src 'none'; base-uri 'none';"
|
|||
s = s.slice(0, -1);
|
||||
|
||||
console.log(
|
||||
`${req.ip.padEnd(24)} ${req.method.padStart(8)} ${req.path}${
|
||||
`${(req.ip || "[unknown ip]").padEnd(24)} ${req.method.padStart(8)} ${req.path}${
|
||||
s ? "?" + s : ""
|
||||
}`
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue