Update Gorilla handlers and add CORS option
This commit is contained in:
@@ -62,7 +62,7 @@ func Register(extend HandlerExtender) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}))
|
||||
}), gh.AllowedHeaders([]string{}))
|
||||
|
||||
// Specific routes
|
||||
r.HandleFunc("/ping", Ping).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user