Merge pull request #103 from jumpserver/dev

[hotfix]修复会话详情页面下载URL
This commit is contained in:
Orange
2020-06-18 17:16:50 +08:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

BIN
lina.tar.gz Normal file

Binary file not shown.

View File

@@ -103,7 +103,7 @@ export default {
window.open(replayUrl)
},
openReplayDownload: function(id) {
const downloadUrl = '/api/v1/terminal/session/00000000-0000-0000-0000-000000000000/replay/download/'
const downloadUrl = '/api/v1/terminal/sessions/00000000-0000-0000-0000-000000000000/replay/download/'
.replace('00000000-0000-0000-0000-000000000000', id)
window.open(downloadUrl)
}