diff options
author | lassulus <lassulus@lassul.us> | 2021-02-23 23:41:38 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-02-23 23:41:38 +0100 |
commit | 79dab4b2aecd06f2a2a84196af096253a0296418 (patch) | |
tree | fdbb64e65bbc1a9598bde9651fe07b1d40be52b0 | |
parent | f9bc618fada82326ed371b131eaed34d21626ae9 (diff) |
news: allos all CORS
-rw-r--r-- | krebs/2configs/news.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/krebs/2configs/news.nix b/krebs/2configs/news.nix index ce4e83408..780c270bf 100644 --- a/krebs/2configs/news.nix +++ b/krebs/2configs/news.nix @@ -19,6 +19,10 @@ root /var/lib/brockman; index brockman.json; ''; + extraConfig = '' + add_header 'Access-Control-Allow-Origin' '*'; + add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; + ''; }; }; systemd.tmpfiles.rules = [ |