• jalf's avatar
    Use wss when creating localhost connection to detect binary support · ec34af8f
    jalf authored
    Some browsers (Firefox) reject unencrypted ws connections if the hosting
    page uses https by throwing an exception when you create the websocket
    object.
    
    NoVNC interprets this as binary being unsupported, and falls back to
    base64.
    
    If we instead connect to wss://localhost, the websocket object can be
    created regardless of whether the hosting page is on http or https.
    ec34af8f
Name
Last commit
Last update
debian Loading commit data...
docs Loading commit data...
images Loading commit data...
include Loading commit data...
tests Loading commit data...
utils Loading commit data...
.gitignore Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
vnc.html Loading commit data...
vnc_auto.html Loading commit data...