feat(config): add ws-host configuration (#156)

This commit is contained in:
lejianwen
2025-03-04 15:43:25 +08:00
parent 77d7b43e21
commit 1852f10131
6 changed files with 25 additions and 135 deletions

View File

@@ -21,7 +21,8 @@ type Rustdesk struct {
KeyFile string `mapstructure:"key-file"`
Personal int `mapstructure:"personal"`
//webclient-magic-queryonline
WebclientMagicQueryonline int `mapstructure:"webclient-magic-queryonline"`
WebclientMagicQueryonline int `mapstructure:"webclient-magic-queryonline"`
WsHost string `mapstructure:"ws-host"`
}
func (rd *Rustdesk) LoadKeyFile() {