feat: debug

parent bce0d297
...@@ -26,8 +26,10 @@ export class ElementIframeComponent implements OnInit { ...@@ -26,8 +26,10 @@ export class ElementIframeComponent implements OnInit {
data => { data => {
const base = window.btoa(this.host.hostname + '\0' + 'c' + '\0' + 'jumpserver'); const base = window.btoa(this.host.hostname + '\0' + 'c' + '\0' + 'jumpserver');
// /guacamole/client will redirect to http://guacamole/#/client // /guacamole/client will redirect to http://guacamole/#/client
this._logger.debug(base);
this.target = document.location.origin + this.target = document.location.origin +
'/guacamole/client/' + base + '?token=' + data['authToken']; '/guacamole/client/' + base + '?token=' + data['authToken'];
this._logger.debug(this.target);
}, },
error2 => { error2 => {
this._logger.error(error2); this._logger.error(error2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment