We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1164aa4 commit ce68eb1Copy full SHA for ce68eb1
api/notification/live.go
@@ -11,6 +11,8 @@ func Live(c *gin.Context) {
11
c.Header("Content-Type", "text/event-stream")
12
c.Header("Cache-Control", "no-cache")
13
c.Header("Connection", "keep-alive")
14
+ // https://stackoverflow.com/questions/27898622/server-sent-events-stopped-work-after-enabling-ssl-on-proxy/27960243#27960243
15
+ c.Header("X-Accel-Buffering", "no")
16
17
evtChan := make(chan *model.Notification)
18
install.sh
@@ -294,8 +294,8 @@ cat > "$DataPath/app.ini" << EOF
294
PageSize = 10
295
296
[server]
297
-HOST = 0.0.0.0
298
-PORT = 9000
+Host = 0.0.0.0
+Port = 9000
299
RunMode = release
300
301
[cert]
0 commit comments