feat(wip): node selector supports sse

This commit is contained in:
Jacky 2024-11-14 20:14:02 +08:00
parent ed0dca6820
commit bc70567dc1
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
31 changed files with 176 additions and 166 deletions

View file

@ -7,6 +7,7 @@ import (
"github.com/0xJacky/Nginx-UI/internal/nginx"
"github.com/0xJacky/Nginx-UI/settings"
"github.com/gin-gonic/gin"
"github.com/uozi-tech/cosy"
cSettings "github.com/uozi-tech/cosy/settings"
"net/http"
)
@ -68,7 +69,7 @@ func SaveSettings(c *gin.Context) {
Logrotate settings.Logrotate `json:"logrotate"`
}
if !api.BindAndValid(c, &json) {
if !cosy.BindAndValid(c, &json) {
return
}