From 4a817959efaa47ae2bf293b3f9f8a63585a97e2d Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Mon, 9 Aug 2021 17:37:58 +0200 Subject: [PATCH] fix middleware chain --- idp/pkg/middleware/static.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/idp/pkg/middleware/static.go b/idp/pkg/middleware/static.go index e053f248a8..87c4de9fe0 100644 --- a/idp/pkg/middleware/static.go +++ b/idp/pkg/middleware/static.go @@ -44,6 +44,8 @@ func Static(root string, fs http.FileSystem) func(http.Handler) http.Handler { } span.SetAttributes(attribute.KeyValue{Key: "path", Value: attribute.StringValue(r.URL.Path)}) span.SetStatus(codes.Ok, "ok") + + next.ServeHTTP(w, r) }) } }