Add summary prefix

This commit is contained in:
Pieter Vander Vennet 2024-02-18 16:07:07 +01:00
parent eac8b85d35
commit 16373c840f

View file

@ -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)
}