Skip to content

Commit

Permalink
Merge pull request #44 from vortex14/proxy-service
Browse files Browse the repository at this point in the history
updated
  • Loading branch information
vortex14 authored Nov 10, 2022
2 parents 766040d + 0fb3dd1 commit 3c7dbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/pipelines/http/net-http/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func ConstructorProxySettingMiddleware(required bool) interfaces.MiddlewareInter
return
}

urlSupported := fmt.Sprintf("%s/proxy", proxyServer)
urlSupported := fmt.Sprintf("%s/proxy?url=%s", proxyServer, task.GetFetcherUrl())
logger.Info("get proxy from :", urlSupported)

request, err := http.NewRequest(http.MethodGet, urlSupported, nil)
Expand Down

0 comments on commit 3c7dbdb

Please sign in to comment.