You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would proxy support work? Like, should Spago be picking up the usual environment variables?
In that case I guess we should use http-proxy to pick up these vars? (and switch from affjax to fetch I guess?
@f-f Sounds good to me. I really had hoped that some library supports this out-of-the box - without any ceremonies. The interesting observation is that spago already comes so far since the package set is fetched via git - which respects the proxy environment variables 😄 Unfortunately, I will not be able to contribute via PR - as I only noticed this in passing, but I still wanted to record this issue as a reference - since it is not immediately obvious by just looking at the error message.
Mainly because of using
affjax
for the requests (purescript-contrib/purescript-affjax#131):spago/src/Spago/Command/Fetch.purs
Lines 225 to 230 in f0f7901
Resulting in pretty generic error message like:
The text was updated successfully, but these errors were encountered: