mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-04 00:06:18 +00:00
Fixed #357: Brought back IP Address and Port
But still manually restart WGDashboard is needed
This commit is contained in:
@@ -1228,6 +1228,8 @@ class DashboardConfig:
|
||||
self.__config[section][key] = "true"
|
||||
else:
|
||||
self.__config[section][key] = "false"
|
||||
if type(value) in [int, float]:
|
||||
self.__config[section][key] = str(value)
|
||||
else:
|
||||
self.__config[section][key] = value
|
||||
return self.SaveConfig(), ""
|
||||
|
Reference in New Issue
Block a user