diff --git a/version.go b/version.go index 4658981..55e714e 100644 --- a/version.go +++ b/version.go @@ -5,7 +5,7 @@ import ( "runtime" ) -var Version = "v0.1.11" +var Version = "v0.1.12" var Build string func FullVersion() string { diff --git a/web/server.go b/web/server.go index a983edd..e2203a9 100644 --- a/web/server.go +++ b/web/server.go @@ -84,7 +84,7 @@ func NewServer(cfg config.FrontendConfig, hs *honeypot.HoneypotServer, store sto r.Use(middleware.RealIP) r.Use(middleware.RequestID) r.Use(s.LoggingMiddleware) - r.Use(middleware.SetHeader("Server", apiary.FullVersion())) + r.Use(middleware.SetHeader("Server", fmt.Sprintf("apiary/%s", apiary.FullVersion()))) r.Route("/", func(r chi.Router) { r.Get("/*", s.IndexHandler("web/vue-frontend/dist"))