Pass width/height to tunnel.
This commit is contained in:
1 parent
75a7d491b3
commit
fce54be8df
1 file changed
+4
-1
@@ -145,7 +145,10 @@
|
|||||||
// all parameters should be preserved and passed on for
|
// all parameters should be preserved and passed on for
|
||||||
// the sake of authentication.
|
// the sake of authentication.
|
||||||
|
|
||||||
var connect_string = window.location.search.substring(1);
|
var connect_string =
|
||||||
|
window.location.search.substring(1)
|
||||||
|
+ "&width=" + window.innerWidth
|
||||||
|
+ "&height=" + window.innerHeight;
|
||||||
guac.connect(connect_string);
|
guac.connect(connect_string);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user