完善dockerfile构建镜像

This commit is contained in:
dushixiang
2020-12-24 23:21:51 +08:00
parent 348074670e
commit 72f7dd5dc6
36 changed files with 369 additions and 277 deletions

View File

@ -1,5 +1,6 @@
import React, {Component} from 'react';
import Guacamole from "guacamole-common-js";
import {prefix, server} from "../../common/constants";
class Playback extends Component {
@ -13,7 +14,7 @@ class Playback extends Component {
}
initPlayer(sessionId) {
var RECORDING_URL = '/sessions/' + sessionId + '/recording';
var RECORDING_URL = `${server + prefix}/sessions/${sessionId}/recording`;
var player = document.getElementById('player');
var display = document.getElementById('display');