tracktrain: remove cors header

this is almost certainly not needed anymore. i think.
This commit is contained in:
stuebinm 2023-01-30 21:00:54 +01:00
parent 4c456eae1c
commit 2e74ca9b35

View file

@ -22,9 +22,6 @@ in
locations."/" = { locations."/" = {
proxyPass = "http://192.168.42.41:4000"; proxyPass = "http://192.168.42.41:4000";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = ''
add_header 'Access-Control-Allow-Origin' '*' always;
'';
}; };
# note: this shadows the /metrics endpoint of tracktrain # note: this shadows the /metrics endpoint of tracktrain
# in case you remove this, please consider putting something # in case you remove this, please consider putting something