argo-cd/util/swagger
May Zhang 7ed6c18762
fix: to support --rootpath (#3503)
* added path to cookie

* additional changes to support rootpath:
1. when using https, redirect to the right URL.
2. when rootpath is set, handle healthz, swagger, etc.

* additional changes to support rootpath:
1. when using https, redirect to the right URL.
2. when rootpath is set, handle healthz only.

* additional changes to support rootpath:
1. when using https, redirect to the right URL.
2. when rootpath is set, handle healthz only.

* Fixed for swagger-ui with rootpath

* Fixed for swagger test

* Fixed for redirect path

* Fixed for redirect path
2020-04-29 14:40:03 -07:00
..
swagger.go fix: to support --rootpath (#3503) 2020-04-29 14:40:03 -07:00
swagger_test.go fix: to support --rootpath (#3503) 2020-04-29 14:40:03 -07:00