Debugging info...
This commit is contained in:
parent
807d477c35
commit
d78646899b
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue