From e0751bc82cba50f0bea0dc01b74a7530045d9f6b Mon Sep 17 00:00:00 2001 From: Andreas Lindfalk Date: Tue, 24 May 2022 16:57:45 +0200 Subject: [PATCH] v0.1.1 --- README.md | 2 +- pkg/server/handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0696c4f..c45da7d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Which handler to use is configurable, provide your implementation of choice by s ## Install ``` -go get github.com/dentech-floss/server@v0.1.0 +go get github.com/dentech-floss/server@v0.1.1 ``` ## Usage diff --git a/pkg/server/handlers.go b/pkg/server/handlers.go index bc421a9..1dbe5c3 100644 --- a/pkg/server/handlers.go +++ b/pkg/server/handlers.go @@ -30,6 +30,6 @@ func CorsHttpAndGrpcHandlerFunc(httpHandler http.Handler, grpcHandler http.Handl return // respond to preflight requests with the above cors settings } - DefaultHttpAndGrpcHandlerFunc(httpHandler, grpcHandler) + DefaultHttpAndGrpcHandlerFunc(httpHandler, grpcHandler).ServeHTTP(w, r) }) }