mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
feat: rename folder or file in configurations list
This commit is contained in:
parent
5dd2c8f931
commit
ace8d7a0fe
12 changed files with 309 additions and 5 deletions
|
@ -3,9 +3,12 @@ package config
|
|||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func InitRouter(r *gin.RouterGroup) {
|
||||
r.GET("config_base_path", GetBasePath)
|
||||
|
||||
r.GET("configs", GetConfigs)
|
||||
r.GET("config/*name", GetConfig)
|
||||
r.POST("config", AddConfig)
|
||||
r.POST("config/*name", EditConfig)
|
||||
r.GET("config_base_path", GetBasePath)
|
||||
r.POST("config_mkdir", Mkdir)
|
||||
r.POST("config_rename", Rename)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue