changed url from /sse to /

alpha
alex 2022-12-23 18:59:28 +01:00
parent be4c45f498
commit d8ee159296
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ func main() {
AllowCredentials: true, AllowCredentials: true,
})) }))
app.Get("/sse", func(c *fiber.Ctx) error { app.Get("/", func(c *fiber.Ctx) error {
c.Set("Content-Type", "text/event-stream") c.Set("Content-Type", "text/event-stream")
c.Set("Cache-Control", "no-cache") c.Set("Cache-Control", "no-cache")
c.Set("Connection", "keep-alive") c.Set("Connection", "keep-alive")