diff --git a/src/dashboard.py b/src/dashboard.py index abc8e3b1..d1c018ba 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -90,7 +90,7 @@ _, APP_PREFIX = DashboardConfig.GetConfig("Server", "app_prefix") cors = CORS(app, resources={rf"{APP_PREFIX}/api/*": { "origins": "*", "methods": "DELETE, POST, GET, OPTIONS", - "allow_headers": ["Content-Type", "wg-dashboard-apikey"] + "allow_headers": ["Content-Type", "wg-dashboard-apikey", "name"] }}) ''' diff --git a/src/static/app/src/components/signInComponents/RemoteServer.vue b/src/static/app/src/components/signInComponents/RemoteServer.vue index 5780cb53..791f2ff1 100644 --- a/src/static/app/src/components/signInComponents/RemoteServer.vue +++ b/src/static/app/src/components/signInComponents/RemoteServer.vue @@ -1,9 +1,12 @@ +