Update Gorilla handlers and add CORS option

This commit is contained in:
Marcos Lilljedahl
2018-02-19 00:21:19 -03:00
parent 9b4a781f71
commit 54b961a950
3 changed files with 5 additions and 5 deletions

View File

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