diff --git a/main.go b/main.go index f51849c..50d071b 100644 --- a/main.go +++ b/main.go @@ -53,7 +53,7 @@ func main() { func Routes() *chi.Mux { router := chi.NewRouter() cors := cors.New(cors.Options{ - AllowedOrigins: []string{"https//sudoscientist.com", "https://www.sudoscientist.com"}, + AllowedOrigins: []string{"https://sudoscientist.com", "https://www.sudoscientist.com"}, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"}, AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"}, AllowCredentials: true,