feat: static file router
This commit is contained in:
@ -10,6 +10,7 @@ import (
|
||||
"github.com/alist-org/alist/v3/internal/sign"
|
||||
"github.com/alist-org/alist/v3/pkg/utils/random"
|
||||
"github.com/alist-org/alist/v3/server/common"
|
||||
"github.com/alist-org/alist/v3/server/static"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
@ -54,6 +55,7 @@ func SaveSettings(c *gin.Context) {
|
||||
common.ErrorResp(c, err, 500)
|
||||
} else {
|
||||
common.SuccessResp(c)
|
||||
static.UpdateIndex()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user