Fix Origins set in CORS headers
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user