Merge pull request #98823 from hellogdc/myfeature

fix the address of restful-CORS-filter.go and restful-basic-authentic…
This commit is contained in:
Kubernetes Prow Robot
2021-02-17 16:50:51 -08:00
committed by GitHub

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.