fix: cors is now being handled by the backend

This commit is contained in:
silver 2024-02-18 14:52:34 +00:00
parent cde7f37455
commit 19d94808ed

View file

@ -72,9 +72,6 @@ in {
forceSSL = true; forceSSL = true;
useACMEHost = "skynet"; useACMEHost = "skynet";
locations."/".proxyPass = "http://localhost:${port_backend}"; locations."/".proxyPass = "http://localhost:${port_backend}";
extraConfig = ''
add_header Access-Control-Allow-Origin "*";
'';
}; };
services.skynet_ldap_backend = { services.skynet_ldap_backend = {