mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
enhance: clean filepath
This commit is contained in:
parent
46a9ccbdf1
commit
abd76ff930
2 changed files with 8 additions and 2 deletions
|
@ -18,7 +18,6 @@ func GetConfigs(c *gin.Context) {
|
|||
dir := c.DefaultQuery("dir", "/")
|
||||
|
||||
configFiles, err := os.ReadDir(nginx.GetConfPath(dir))
|
||||
|
||||
if err != nil {
|
||||
api.ErrHandler(c, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue