mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27:37 +03:00
fix: remove Access-Control-Allow-Origin
. closes #3660
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
47e3fdb1b8
commit
657fe11f53
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ func (b *broker) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
w.Header().Set("Content-Type", "text/event-stream")
|
||||
w.Header().Set("Cache-Control", "no-cache, no-transform")
|
||||
w.Header().Set("Connection", "keep-alive")
|
||||
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||
// Tells Nginx to not buffer this response. See https://stackoverflow.com/a/33414096
|
||||
w.Header().Set("X-Accel-Buffering", "no")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue