(cfg *config.Config)
| 1404 | } |
| 1405 | |
| 1406 | func forceHomeRuntimeConfig(cfg *config.Config) { |
| 1407 | if cfg == nil { |
| 1408 | return |
| 1409 | } |
| 1410 | cfg.APIKeys = nil |
| 1411 | cfg.UsageStatisticsEnabled = true |
| 1412 | cfg.DisableCooling = true |
| 1413 | cfg.SaveCooldownStatus = false |
| 1414 | cfg.WebsocketAuth = false |
| 1415 | cfg.RemoteManagement.AllowRemote = false |
| 1416 | cfg.RemoteManagement.DisableControlPanel = true |
| 1417 | } |
| 1418 | |
| 1419 | func (s *Service) applyHomeOverlay(remoteCfg *config.Config) { |
| 1420 | if errApply := s.applyHomeOverlayContext(context.Background(), remoteCfg); errApply != nil { |
no outgoing calls