|
|
|
@ -145,6 +145,9 @@ class WebSSHTimer extends Component {
|
|
|
|
|
}
|
|
|
|
|
// 重置命令行的时候调用的接口,会删pod
|
|
|
|
|
closeWebssh = (callback) => {
|
|
|
|
|
// 先关socket
|
|
|
|
|
this.closeWebsshSocket()
|
|
|
|
|
|
|
|
|
|
const { game } = this.props;
|
|
|
|
|
// const url = `/api/v1/games/${game.identifier}/close_webssh`
|
|
|
|
|
const url = `/tasks/${game.identifier}/close_webssh.json`
|
|
|
|
|