Debugging info...

This commit is contained in:
Pieter Vander Vennet 2023-10-25 15:53:36 +02:00
parent 807d477c35
commit d78646899b

View file

@ -77,6 +77,7 @@ http.createServer(async (req, res) => {
} }
const url = new URL(`http://127.0.0.1/` + req.url) const url = new URL(`http://127.0.0.1/` + req.url)
console.log("URL pathname is")
if (url.pathname.endsWith("overview")) { if (url.pathname.endsWith("overview")) {
console.log("Giving overview") console.log("Giving overview")
let userId = url.searchParams.get("userId") let userId = url.searchParams.get("userId")