Plugins Proxy: Allow using {{ .URL }} inside "routes" section in plugin.json (#80858)
Signed-off-by: Slach <bloodjazman@gmail.com> Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
This commit is contained in:
co-authored by
Andres Martinez Gotor
parent
ea243b536c
commit
702e22806c
@@ -252,6 +252,7 @@ func (proxy *DataSourceProxy) director(req *http.Request) {
|
||||
|
||||
ApplyRoute(req.Context(), req, proxy.proxyPath, proxy.matchedRoute, DSInfo{
|
||||
ID: proxy.ds.ID,
|
||||
URL: proxy.ds.URL,
|
||||
Updated: proxy.ds.Updated,
|
||||
JSONData: jsonData,
|
||||
DecryptedSecureJSONData: decryptedValues,
|
||||
|
||||
Reference in New Issue
Block a user