mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 07:46:18 +00:00
Update
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -51,3 +51,4 @@ coverage
|
||||
*.tsbuildinfo
|
||||
.vite/*
|
||||
|
||||
proxy.js
|
||||
|
@@ -28,6 +28,10 @@ def login_required(f):
|
||||
|
||||
def createClientBlueprint(wireguardConfigurations: dict[WireguardConfiguration], dashboardConfig: DashboardConfig):
|
||||
from modules.DashboardClients import DashboardClients
|
||||
|
||||
|
||||
|
||||
DashboardClients = DashboardClients(wireguardConfigurations)
|
||||
|
||||
client = Blueprint('client', __name__, template_folder=os.path.abspath("./static/client/dist"))
|
||||
prefix = f'{dashboardConfig.GetConfig("Server", "app_prefix")[1]}/client'
|
||||
|
Reference in New Issue
Block a user