UI: persist experimental flag (BC) (#27074)

This commit is contained in:
Maschga 2026-02-07 17:15:59 +01:00 • committed by GitHub
parent 3f1df220b5
commit 4c5935b60d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 137 additions and 112 deletions

View file

@ -378,6 +378,7 @@ func runRoot(cmd *cobra.Command, args []string) {
valueChan <- util.Param{Key: keys.Database, Val: db.FilePath}
valueChan <- util.Param{Key: keys.System, Val: util.System()}
valueChan <- util.Param{Key: keys.Timezone, Val: time.Now().Format("MST -07:00")}
valueChan <- util.Param{Key: keys.Experimental, Val: isExperimental()}
// run shutdown functions on stop
var once sync.Once
@ -427,7 +428,7 @@ func runRoot(cmd *cobra.Command, args []string) {
site.DumpConfig()
site.Prepare(valueChan, pushChan)
httpd.RegisterSiteHandlers(site, valueChan)
httpd.RegisterSiteHandlers(site)
go func() {
site.Run(stopC, conf.Interval)