Remove additional CORS header for Sockethub
This would add a second value in addition to the one Sockethub sets itself, which then broke the client.
This commit is contained in:
parent
671a2c4421
commit
e95bda621e
@ -52,9 +52,6 @@ server {
|
|||||||
# Enable WebSockets
|
# Enable WebSockets
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
|
||||||
# CORS
|
|
||||||
add_header 'Access-Control-Allow-Origin' '*';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user