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

fix(hmr): base default protocol on client source location #11497

Merged
merged 1 commit into from
Jan 4, 2023

Commits on Dec 27, 2022

  1. fix(hmr): base default protocol on client source location

    Derive the default HMR protocol on the location where `client.ts` is
    imported from instead of `window.location`. Now, HMR works out of the
    box if the page is served over HTTPS while the Vite serves it files over
    HTTP.
    geigerzaehler committed Dec 27, 2022
    Configuration menu
    Copy the full SHA
    4dabeca View commit details
    Browse the repository at this point in the history