<html>
<head>
- <!--
+ <!--
noVNC example: simple example using default UI
Copyright (C) 2012 Joel Martin
Copyright (C) 2013 Samuel Mannehed for Cendio AB
// if port == 80 (or 443) then it won't be present and should be
// set manually
if (!port) {
- if (window.location.protocol.substring(0,5) == 'https') {
+ if (window.location.protocol.substring(0,5) == 'https') {
port = 443;
}
- else if (window.location.protocol.substring(0,4) == 'http') {
+ else if (window.location.protocol.substring(0,4) == 'http') {
port = 80;
}
}