We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a835b21 commit 19ad19bCopy full SHA for 19ad19b
server/api/logs.go
@@ -25,6 +25,8 @@ func LiveLogs(c *fiber.Ctx) error {
25
c.Set("Cache-Control", "no-cache")
26
c.Set("Connection", "keep-alive")
27
c.Set("Transfer-Encoding", "chunked")
28
+ c.Set("Access-Control-Allow-Origin", "*")
29
+ c.Set("Access-Control-Allow-Headers", "Content-Type")
30
c.Status(http.StatusOK)
31
32
logsStream := make(chan []byte)
0 commit comments