I noticed, while running this on windows in a VM, that the proxy was trying to connect to an IPv4 server, while the static server was actually an IPv6 one.
With this logic, we explicitly check what version we are running within the settings.useStaticServer branch of logic as well.
For us to review and ship your PR efficiently, please perform the following steps:
[ ] Open a bug/issue before writing your code ๐งโ๐ป. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire ๐ฅ (e.g. incident related), you can skip this step.
[ ] Read the contribution guidelines ๐. This ensures your code follows our style guide and
passes our tests.
[ ] Update or add tests (if any source code was changed or added) ๐งช
[ ] Update or add documentation (if features were changed or added) ๐
[ ] Make sure the status checks below are successful โ
A picture of a cute animal (not mandatory, but encouraged)
๐ Thanks for submitting a pull request! ๐
Summary
This hopefully fixes this: https://answers.netlify.com/t/128792
I noticed, while running this on windows in a VM, that the proxy was trying to connect to an IPv4 server, while the static server was actually an IPv6 one.
With this logic, we explicitly check what version we are running within the
settings.useStaticServer
branch of logic as well.For us to review and ship your PR efficiently, please perform the following steps:
A picture of a cute animal (not mandatory, but encouraged)