Fix Origins set in CORS headers

This commit is contained in:
Marcos Lilljedahl
2018-02-19 00:42:29 -03:00
parent 54b961a950
commit d7b2dc69ff

View File

@@ -62,7 +62,7 @@ func Register(extend HandlerExtender) {
return true return true
} }
return false return false
}), gh.AllowedHeaders([]string{})) }), gh.AllowedOrigins([]string{}))
// Specific routes // Specific routes
r.HandleFunc("/ping", Ping).Methods("GET") r.HandleFunc("/ping", Ping).Methods("GET")