From a2e364c86bdb9ab8d4259f79e1a67b991a43b18d Mon Sep 17 00:00:00 2001 From: Carlos Landeras Date: Fri, 28 Feb 2020 09:49:52 +0100 Subject: [PATCH] Update middleware.md --- concepts/middleware/middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/middleware/middleware.md b/concepts/middleware/middleware.md index e18dd42dc..7b8c83d9b 100644 --- a/concepts/middleware/middleware.md +++ b/concepts/middleware/middleware.md @@ -50,4 +50,4 @@ func GetHandler(metadata Metadata) fasthttp.RequestHandler { } ``` -Your code should be contributed to the https://github.com/dapr/components-contrib repository, under the */middleware* folder. Then, you'll need to submit another pull request against the https://github.com/dapr/dapr repository to register the new middleware type. You'll need to modify the **Load()** method under https://github.com/dapr/dapr/blob/master/pkg/components/middleware/http/loader.go to register your middleware using the **RegisterMiddleware** method. +Your code should be contributed to the https://github.com/dapr/components-contrib repository, under the */middleware* folder. Then, you'll need to submit another pull request against the https://github.com/dapr/dapr repository to register the new middleware type. You'll need to modify the **Load()** method under https://github.com/dapr/dapr/blob/master/pkg/components/middleware/http/registry.go to register your middleware using the **Register** method.