mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
静态分发增加例外URL、限制URL、排除隐藏文件等选项
This commit is contained in:
@@ -101,7 +101,7 @@ func (this *HTTPWebDAO) ComposeWebConfig(tx *dbs.Tx, webId int64, isLocationOrGr
|
||||
|
||||
// root
|
||||
if IsNotNull(web.Root) {
|
||||
var rootConfig = &serverconfigs.HTTPRootConfig{}
|
||||
var rootConfig = serverconfigs.NewHTTPRootConfig()
|
||||
err = json.Unmarshal(web.Root, rootConfig)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user