fix(webconsole): pve vnc support (#18603)

This commit is contained in:
屈轩
2023-11-08 19:35:06 +08:00
committed by GitHub
parent 478e1844c9
commit c790883c29
6 changed files with 24 additions and 11 deletions
-1
View File
@@ -61,7 +61,6 @@ func (s *ConnectionServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
info := sessionObj.ISessionData.(*session.RemoteConsoleInfo)
if utils.IsInStringArray(info.Hypervisor, []string{
api.HYPERVISOR_OPENSTACK,
api.HYPERVISOR_PROXMOX,
api.HYPERVISOR_CTYUN,
}) {
srv, err = NewWebsocketProxyServer(sessionObj)