mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Automatic API generation by adopting go-restful
This commit is contained in:
@@ -121,6 +121,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
||||
})
|
||||
}
|
||||
|
||||
// TODO: use restful.CrossOriginResourceSharing
|
||||
// Simple CORS implementation that wraps an http Handler
|
||||
// For a more detailed implementation use https://github.com/martini-contrib/cors
|
||||
// or implement CORS at your proxy layer
|
||||
|
Reference in New Issue
Block a user