server: one too many test

This commit is contained in:
jean-emmanuel 2022-03-20 22:41:17 +01:00
parent 37ecc41826
commit c239c2f213

View file

@ -47,7 +47,7 @@ function resolvePath(url, clientId) {
var sessionPath
if (clientId === undefined || !ipc.clients[clientId]) {
if (!ipc.clients[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...