mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: config sync issues #685
This commit is contained in:
parent
b4add42039
commit
21be809ffa
10 changed files with 114 additions and 69 deletions
|
@ -9,9 +9,9 @@ func InitRouter(r *gin.RouterGroup) {
|
|||
r.GET("config_base_path", GetBasePath)
|
||||
|
||||
r.GET("configs", GetConfigs)
|
||||
r.GET("configs/*name", GetConfig)
|
||||
r.GET("configs/*path", GetConfig)
|
||||
r.POST("configs", AddConfig)
|
||||
r.POST("configs/*name", EditConfig)
|
||||
r.POST("configs/*path", EditConfig)
|
||||
|
||||
o := r.Group("", middleware.RequireSecureSession())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue