mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
parent
56e82d9c5a
commit
a2c0e804a4
5 changed files with 19 additions and 25 deletions
|
@ -22,7 +22,6 @@ type EditConfigJson struct {
|
|||
func EditConfig(c *gin.Context) {
|
||||
relativePath := c.Param("path")
|
||||
var json struct {
|
||||
Name string `json:"name" binding:"required"`
|
||||
Content string `json:"content"`
|
||||
SyncOverwrite bool `json:"sync_overwrite"`
|
||||
SyncNodeIds []uint64 `json:"sync_node_ids"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue