🐛 Fix cannot read upstreams settings from querystring
All checks were successful
release-nightly / build-docker (push) Successful in 1m8s
All checks were successful
release-nightly / build-docker (push) Successful in 1m8s
This commit is contained in:
parent
8e2ec23856
commit
996e52a5f9
@ -35,7 +35,7 @@ func (v *UpstreamConfig) GetType() string {
|
||||
func (v *UpstreamConfig) GetRawURI() (string, url.Values) {
|
||||
uri := strings.SplitN(v.URI, "://", 2)[1]
|
||||
data := strings.SplitN(uri, "?", 2)
|
||||
qs, _ := url.ParseQuery(uri)
|
||||
qs, _ := url.ParseQuery(data[1])
|
||||
|
||||
return data[0], qs
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user