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:
Eugene Klimov
2024-02-02 12:23:07 +04:00
committed by GitHub
parent ea243b536c
commit 702e22806c
4 changed files with 34 additions and 1 deletions
+1
View File
@@ -218,6 +218,7 @@ func (proxy PluginProxy) logRequest() {
}
type templateData struct {
URL string
JsonData map[string]any
SecureJsonData map[string]string
}