diff --git a/main.go b/main.go index 7fec574..a4615c6 100644 --- a/main.go +++ b/main.go @@ -86,6 +86,10 @@ func main() { os.Exit(1) } + if conf.RouteChangeCounter == 0 { + conf.MinimumAge = 0 + } + modules := monitor.GetRegisteredModuleNames() if len(modules) != 0 { slog.Info("Enabled", "modules", strings.Join(modules, ",")) diff --git a/modules/httpAPI/dashboard/analyze/index.html b/modules/httpAPI/dashboard/analyze/index.html index 4aec4e9..9386916 100644 --- a/modules/httpAPI/dashboard/analyze/index.html +++ b/modules/httpAPI/dashboard/analyze/index.html @@ -7,6 +7,7 @@ content="default-src 'none'; base-uri 'none'; form-action 'none'; style-src 'self' 'unsafe-inline'; style-src-elem 'self'; script-src 'self'; connect-src 'self';"> +