fix: nginx sse in reverse proxy
This commit is contained in:
@@ -70,6 +70,7 @@ func streamingRoomStates(
|
||||
w.Header().Set("Cache-Control", "no-cache")
|
||||
w.Header().Set("Connection", "keep-alive")
|
||||
w.Header().Set("Content-Type", "text/event-stream")
|
||||
w.Header().Set("X-Accel-Buffering", "no")
|
||||
|
||||
templFile := "templates/room.gohtml"
|
||||
tableTemplates := "templates/tableTemplates.gohtml"
|
||||
|
||||
Reference in New Issue
Block a user