mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-04 08:16:17 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
16998d1e16 | ||
|
11421d2d32 | ||
|
1af708aaea |
@@ -570,7 +570,7 @@ class WireguardConfiguration:
|
|||||||
def __getPeers(self):
|
def __getPeers(self):
|
||||||
|
|
||||||
mt = os.path.getmtime(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'))
|
mt = os.path.getmtime(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'))
|
||||||
if self.__configFileModifiedTime is None or self.__configFileModifiedTime != mt:
|
# if self.__configFileModifiedTime is None or self.__configFileModifiedTime != mt:
|
||||||
self.Peers = []
|
self.Peers = []
|
||||||
with open(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'), 'r') as configFile:
|
with open(os.path.join(WG_CONF_PATH, f'{self.Name}.conf'), 'r') as configFile:
|
||||||
p = []
|
p = []
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.2 MiB |
BIN
src/static/app/dist/v4.0Preview.gif
vendored
BIN
src/static/app/dist/v4.0Preview.gif
vendored
Binary file not shown.
Before Width: | Height: | Size: 4.5 MiB |
Reference in New Issue
Block a user