roomId='_/'+currentInstance+'/'+absoluteExitSceneUrl.hostname+absoluteExitSceneUrl.pathname;//in case of a relative url, we need to create a public roomId
//Relative identifier can be deep enough to rewrite the base domain, so we cannot use the variable 'baseUrl' as the actual base url for the URL objects.
//We instead use 'workadventure' as a dummy base value.