kiegroup / act-js

A node.js wrapper for nektos/act to programmatically run your github actions locally
Apache License 2.0
56 stars 10 forks source link

added follow-redirect and updated path to include url queries #16

Closed shubhbapna closed 1 year ago

shubhbapna commented 1 year ago

Resolves a bug where when using the proxy, we would reach max redirect when the http requested url will return a 301 to redirect to the https version. When we would receive this 301, the proxy would pass this response to actual client. If client decided to follow the redirect and request the https url, it would again be intercepted by the proxy which would make an http request and the cycle would repeat.

Resolves a bug where url query wasn't being passed by the proxy to the actual target.