Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle private network preflight call (#354)
Chrome has a preflight check for local network requests that requires our loopback listener to respond in a specific way in order to receive the proper GET request. Chrome document: https://developer.chrome.com/blog/private-network-access-preflight/ This document also says we need to include the `Access-Control-Allow-Origin` header as well in order to succeed, but in my (admittedly limited) tests that wasn't necessary. If it's deemed prudent, I can add that to this PR as well.
- Loading branch information