fix cors
This commit is contained in:
parent
b6fea862d6
commit
883760cc1a
@ -47,6 +47,7 @@ in {
|
||||
services.nginx.virtualHosts."gaze.systems" = {
|
||||
locations."/.well-known/matrix/".extraConfig = ''
|
||||
add_header content-type application/json;
|
||||
add_header access-control-allow-origin *;
|
||||
alias ${wellKnownFiles}/;
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user