fix: ensure security configuration is applied when copying
This commit is contained in:
parent
03bcec74bc
commit
0aa8c95cb9
1 changed files with 3 additions and 0 deletions
|
|
@ -1942,6 +1942,9 @@ func (c *Config) ValidateModelList() error {
|
|||
|
||||
func (c *Config) SecurityCopyFrom(cfg *Config) {
|
||||
c.security = cfg.security
|
||||
if c.security != nil {
|
||||
_ = applySecurityConfig(c, c.security)
|
||||
}
|
||||
}
|
||||
|
||||
func MergeAPIKeys(apiKey string, apiKeys []string) []string {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue