From 6c0fe58147fc907c41b6e980be377bc39f9720eb Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 25 Sep 2023 22:11:23 +0000 Subject: [PATCH] testing cors --- applications/ldap/backend.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/ldap/backend.nix b/applications/ldap/backend.nix index 477a485..4a75272 100644 --- a/applications/ldap/backend.nix +++ b/applications/ldap/backend.nix @@ -75,7 +75,8 @@ in { # add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}"; # ''; extraConfig = '' - add_header Access-Control-Allow-Origin "*"; + add_header Access-Control-Allow-Origin "https://account.${cfg.domain.base}.${cfg.domain.tld}"; + #add_header Access-Control-Allow-Origin "*"; ''; };