server: comment

This commit is contained in:
jean-emmanuel 2022-05-22 12:25:39 +02:00
parent f896aa8d0c
commit 4d8a4a37b0

View file

@ -52,6 +52,7 @@ function resolvePath(url, clientId) {
// safari seems to be picky with cookies
if (clientId === undefined) console.error(`(ERROR, HTTP) Could not resolve requested url ${url} (client id not found in http cookies)`)
// this should never happen, but just in case...
// it happens when importing css file from theme
else if (debug) console.log(`(DEBUG, HTTP) Requested url ${url} not resolved against session path (unregistered client id ${clientId})`)
} else {
sessionPath = path.dirname(ipc.clients[clientId].sessionPath)