Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use correct protocol when -H and --experimental-https are enabled (
#69822) fixes #69820 - fixes wrong protocol issue when you run `next dev` with `--experimental-https` and `-H` option. To check the PR fixes the issue correctly, run the command below. ``` corepack pnpm next -H 0.0.0.0 --experimental-https YOUR_APP_DIRECTORY ``` <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> Co-authored-by: JJ Kasper <jj@jjsweb.site>
- Loading branch information