mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 15:56:17 +00:00
Added sorting and search to configuration list
This commit is contained in:
@@ -3108,7 +3108,6 @@ def ProtocolsEnabled() -> list[str]:
|
||||
protocols.append("wg")
|
||||
return protocols
|
||||
|
||||
|
||||
def InitWireguardConfigurationsList(startup: bool = False):
|
||||
confs = os.listdir(DashboardConfig.GetConfig("Server", "wg_conf_path")[1])
|
||||
confs.sort()
|
||||
@@ -3164,7 +3163,6 @@ def startThreads():
|
||||
scheduleJobThread.daemon = True
|
||||
scheduleJobThread.start()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
startThreads()
|
||||
app.run(host=app_ip, debug=False, port=app_port)
|
Reference in New Issue
Block a user