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

This commit is contained in:
屈轩
2023-11-08 19:35:11 +08:00
committed by GitHub
parent fc4cc7d0b1
commit 7ca7bf48ab
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)