From 9cc2c7c2343c65a96d940a4fa48ba84956820043 Mon Sep 17 00:00:00 2001 From: Asara Date: Sat, 5 Oct 2019 22:58:12 -0400 Subject: [PATCH] Update cors --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 089c70d..f51849c 100644 --- a/main.go +++ b/main.go @@ -52,8 +52,6 @@ func main() { func Routes() *chi.Mux { router := chi.NewRouter() - // enable cors testing - // LOCK THIS DOWN FOR PRODUCTION cors := cors.New(cors.Options{ AllowedOrigins: []string{"https//sudoscientist.com", "https://www.sudoscientist.com"}, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"},