diff --git a/sse/be/be b/sse/be/be index 38e13e7..8ef46e5 100755 Binary files a/sse/be/be and b/sse/be/be differ diff --git a/sse/be/main.go b/sse/be/main.go index 7285606..d00985f 100644 --- a/sse/be/main.go +++ b/sse/be/main.go @@ -92,7 +92,7 @@ func HeadersMiddleware() gin.HandlerFunc { func (e *Event) Stream(c *gin.Context) { client := &Client{ - Ip: c.ClientIP(), + Ip: c.Request.RemoteAddr, Chan: make(ClientChan), Events: c.QueryArray("events"), } diff --git a/sse/be/static/_app/version.json b/sse/be/static/_app/version.json index 525c542..d951e05 100644 --- a/sse/be/static/_app/version.json +++ b/sse/be/static/_app/version.json @@ -1 +1 @@ -{"version":"1703074552121"} \ No newline at end of file +{"version":"1703075413040"} \ No newline at end of file diff --git a/sse/be/static/_app/version.json.br b/sse/be/static/_app/version.json.br index c37509d..7bd264c 100644 Binary files a/sse/be/static/_app/version.json.br and b/sse/be/static/_app/version.json.br differ diff --git a/sse/be/static/_app/version.json.gz b/sse/be/static/_app/version.json.gz index cc9c0df..880a72c 100644 Binary files a/sse/be/static/_app/version.json.gz and b/sse/be/static/_app/version.json.gz differ diff --git a/sse/be/static/index.html b/sse/be/static/index.html index e7b67e1..5bd697a 100644 --- a/sse/be/static/index.html +++ b/sse/be/static/index.html @@ -5,17 +5,17 @@ - + - - + +