Add summary prefix
This commit is contained in:
parent
eac8b85d35
commit
16373c840f
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ class Server {
|
|||
|
||||
const url = new URL(`http://127.0.0.1/` + req.url)
|
||||
let path = url.pathname
|
||||
console.log("Handling ", path)
|
||||
while (path.startsWith("/")) {
|
||||
path = path.substring(1)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue