mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-29 06:22:00 -08:00
fix hot reloading
This commit is contained in:
parent
61c67cc585
commit
c6f91d62d7
1 changed files with 1 additions and 1 deletions
|
|
@ -912,7 +912,7 @@ func (p *Core) closeResources(newConf *conf.Conf, calledByAPI bool) {
|
|||
newConf.APIEncryption != p.conf.APIEncryption ||
|
||||
newConf.APIServerKey != p.conf.APIServerKey ||
|
||||
newConf.APIServerCert != p.conf.APIServerCert ||
|
||||
slices.Equal(newConf.APIAllowOrigins, p.conf.APIAllowOrigins) ||
|
||||
!slices.Equal(newConf.APIAllowOrigins, p.conf.APIAllowOrigins) ||
|
||||
!reflect.DeepEqual(newConf.APITrustedProxies, p.conf.APITrustedProxies) ||
|
||||
newConf.ReadTimeout != p.conf.ReadTimeout ||
|
||||
newConf.WriteTimeout != p.conf.WriteTimeout ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue