mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 15:56:17 +00:00
Update
This commit is contained in:
@@ -23,7 +23,10 @@ def ResponseObject(status=True, message=None, data=None, status_code = 200) -> F
|
||||
from modules.DashboardClients import DashboardClients
|
||||
def createClientBlueprint(wireguardConfigurations: dict[WireguardConfiguration], dashboardConfig: DashboardConfig, dashboardClients: DashboardClients):
|
||||
|
||||
client = Blueprint('client', __name__, template_folder=os.path.abspath("./static/client/dist"))
|
||||
client = Blueprint('client', __name__,
|
||||
template_folder=os.path.abspath("./static/client/dist"),
|
||||
static_folder=os.path.abspath("./static/client/dist")
|
||||
)
|
||||
prefix = f'{dashboardConfig.GetConfig("Server", "app_prefix")[1]}/client'
|
||||
|
||||
def login_required(f):
|
||||
|
Reference in New Issue
Block a user