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:
hellogdc 2021-02-06 09:07:58 +08:00 committed by Kubernetes Publisher
parent 6650de5afa
commit 1d45e7fbbc
1 changed files with 2 additions and 2 deletions

View File

@ -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.