Chore: const

This commit is contained in:
Pieter Vander Vennet 2024-09-30 17:10:33 +02:00
parent c28baaab62
commit f95bffde67

View file

@ -147,7 +147,7 @@ http.createServer(async (req: http.IncomingMessage, res) => {
console.log("URL pathname is")
if (url.pathname.endsWith("overview")) {
console.log("Giving overview")
let userId = url.searchParams.get("userId")
const userId = url.searchParams.get("userId")
const allFiles = ScriptUtils.readDirRecSync(STATIC_PATH)
.filter(
(p) =>