news: allos all CORS
This commit is contained in:
parent
f9bc618fad
commit
79dab4b2ae
@ -19,6 +19,10 @@
|
|||||||
root /var/lib/brockman;
|
root /var/lib/brockman;
|
||||||
index brockman.json;
|
index brockman.json;
|
||||||
'';
|
'';
|
||||||
|
extraConfig = ''
|
||||||
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
|
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
Loading…
Reference in New Issue
Block a user