This commit is contained in:
ACoolName 2024-05-25 14:00:27 +03:00
parent 1ee0471d95
commit 186a830dd8
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ type ServerInfo struct {
On bool On bool
Nickname string Nickname string
Ports []Port Ports []Port
Domain string
} }
type FileBrowserInfo struct { type FileBrowserInfo struct {

View File

@ -136,6 +136,7 @@ func (con Connection) getServerInfo(volume volume.Volume) (*models.ServerInfo, e
Ports: ports, Ports: ports,
Nickname: serverData.Nickname, Nickname: serverData.Nickname,
DefaultCommand: serverData.DefaultCommand, DefaultCommand: serverData.DefaultCommand,
Domain: DOMAIN,
} }
return &serverInfo, nil return &serverInfo, nil