Closed topheman closed 7 months ago
Here are the cases to take in account to generate the Qrcode :
location.origin.includes('localhost')
metadatas['render-browser-host']
location.origin
localhost
It will be compatible with tunnelling. #18
Here are the cases to take in account to generate the Qrcode :
location.origin.includes('localhost')
&&metadatas['render-browser-host']
contains an ip v4 -> usemetadatas['render-browser-host']
location.origin
==metadatas['render-browser-host']
location.origin
is not an ip v4 norlocalhost
-> discardmetadatas['render-browser-host']
, uselocation.origin
It will be compatible with tunnelling. #18