fix the address of restful-CORS-filter.go and restful-basic-authentication.go in the comment of ./staging/src/k8s.io/apiserver/pkg/server/filters/cors.go
Kubernetes-commit: 66459d3386db74ba02a06ee29f68248bd695aa8f
This commit is contained in:
parent
6650de5afa
commit
1d45e7fbbc
|
@ -25,8 +25,8 @@ import (
|
|||
)
|
||||
|
||||
// TODO: use restful.CrossOriginResourceSharing
|
||||
// See github.com/emicklei/go-restful/blob/master/examples/restful-CORS-filter.go, and
|
||||
// github.com/emicklei/go-restful/blob/master/examples/restful-basic-authentication.go
|
||||
// See github.com/emicklei/go-restful/blob/master/examples/cors/restful-CORS-filter.go, and
|
||||
// github.com/emicklei/go-restful/blob/master/examples/basicauth/restful-basic-authentication.go
|
||||
// Or, for a more detailed implementation use https://github.com/martini-contrib/cors
|
||||
// or implement CORS at your proxy layer.
|
||||
|
||||
|
|
Loading…
Reference in New Issue