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

This commit is contained in:
lejianwen
2025-03-04 15:43:25 +08:00
parent 5db3c8bf0b
commit 08420f9db6
5 changed files with 22 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() {