mirror of https://github.com/jumpserver/jumpserver
fix: 提供给luna的录像地址不能为本地local地址,应该为url
parent
aee20a6c05
commit
9a29cda210
|
@ -214,7 +214,7 @@ class SessionReplayViewSet(AsyncApiMixin, viewsets.ViewSet):
|
|||
local_path, url_or_err = storage.get_file_path_url()
|
||||
if local_path is None:
|
||||
return Response({"error": url_or_err}, status=404)
|
||||
data = self.get_replay_data(session, local_path)
|
||||
data = self.get_replay_data(session, url_or_err)
|
||||
return Response(data)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue