mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
feat(wip): node selector supports sse
This commit is contained in:
parent
ed0dca6820
commit
bc70567dc1
31 changed files with 176 additions and 166 deletions
|
@ -97,7 +97,7 @@ type certJson struct {
|
|||
func AddCert(c *gin.Context) {
|
||||
var json certJson
|
||||
|
||||
if !api.BindAndValid(c, &json) {
|
||||
if !cosy.BindAndValid(c, &json) {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@ func ModifyCert(c *gin.Context) {
|
|||
|
||||
var json certJson
|
||||
|
||||
if !api.BindAndValid(c, &json) {
|
||||
if !cosy.BindAndValid(c, &json) {
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ func RemoveCert(c *gin.Context) {
|
|||
func SyncCertificate(c *gin.Context) {
|
||||
var json cert.SyncCertificatePayload
|
||||
|
||||
if !api.BindAndValid(c, &json) {
|
||||
if !cosy.BindAndValid(c, &json) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue