Chore: const
This commit is contained in:
parent
c28baaab62
commit
f95bffde67
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ http.createServer(async (req: http.IncomingMessage, res) => {
|
||||||
console.log("URL pathname is")
|
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")
|
const userId = url.searchParams.get("userId")
|
||||||
const allFiles = ScriptUtils.readDirRecSync(STATIC_PATH)
|
const allFiles = ScriptUtils.readDirRecSync(STATIC_PATH)
|
||||||
.filter(
|
.filter(
|
||||||
(p) =>
|
(p) =>
|
||||||
|
|
Loading…
Reference in a new issue