Add Header Requirements and BuildInfos to message

This commit is contained in:
Christoph Kluge
2023-06-22 19:56:21 +02:00
parent 8eda4b306d
commit 9afb6dc933
2 changed files with 14 additions and 12 deletions

View File

@@ -319,11 +319,11 @@ func main() {
// Send a searchId and then reply with a redirect to a user, or directly send query to job table for jobid and project.
secured.HandleFunc("/search", func(rw http.ResponseWriter, r *http.Request) {
routerConfig.HandleSearchBar(rw, r)
routerConfig.HandleSearchBar(rw, r, buildInfo)
})
// Mount all /monitoring/... and /api/... routes.
routerConfig.SetupRoutes(secured, version, commit, date)
routerConfig.SetupRoutes(secured, buildInfo)
api.MountRoutes(secured)
if config.Keys.EmbedStaticFiles {