bash - set or reset listenIP

we need this if we want to add SSH port forwarding
This commit is contained in:
mhsanaei
2024-10-30 16:35:36 +01:00
parent d40fa46851
commit 5ae587ee81
2 changed files with 17 additions and 2 deletions

View File

@@ -243,6 +243,10 @@ func (s *SettingService) GetListen() (string, error) {
return s.getString("webListen")
}
func (s *SettingService) SetListen(ip string) error {
return s.setString("webListen", ip)
}
func (s *SettingService) GetWebDomain() (string, error) {
return s.getString("webDomain")
}