bash - set or reset listenIP

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

No files matched your search

+4
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")
}