mirror of https://github.com/jumpserver/jumpserver
commit
0e9ebed19d
|
@ -119,7 +119,7 @@ class SessionReplayViewSet(viewsets.ViewSet):
|
||||||
session = get_object_or_404(Session, id=session_id)
|
session = get_object_or_404(Session, id=session_id)
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
'type': 'guacamole' if self.session.protocol == 'rdp' else 'json',
|
'type': 'guacamole' if session.protocol == 'rdp' else 'json',
|
||||||
'src': '',
|
'src': '',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue