Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle private network preflight call #354

Merged

Commits on Mar 21, 2024

  1. Handle private network preflight call

    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.
    blairmitchelmore-okta committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    16c3934 View commit details
    Browse the repository at this point in the history