feat: split openresty settings into performance page

This commit is contained in:
ryan
2026-03-12 23:51:57 +08:00
parent 97b67720bc
commit 238546b358
16 changed files with 1562 additions and 1031 deletions
+3
View File
@@ -3,6 +3,7 @@ package controller
import (
"atsflare/common"
"atsflare/model"
"atsflare/service"
"encoding/json"
"fmt"
"github.com/gin-gonic/gin"
@@ -154,6 +155,8 @@ func validateOpenRestyOption(key string, value string) error {
}
}
return nil
case "OpenRestyMainConfigTemplate":
return service.ValidateOpenRestyMainConfigTemplate(value)
default:
return nil
}