From 2a40c39f082897813f56b235bb5c59f25b5e2d1e Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 31 Aug 2017 16:34:43 +0900 Subject: [PATCH] ing --- examples/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server.go b/examples/server.go index d5e5a45..453420a 100644 --- a/examples/server.go +++ b/examples/server.go @@ -10,7 +10,7 @@ import ( func main() { ctx := context.Background() - c := cors_fasthttp.New(ctx, cors_fasthttp.CorsOptions{}) + c := cors_fasthttp.AllowAll(ctx) fasthttp.ListenAndServe(":8080", c.Handler(Handler)) }