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

Redirect from / redirects to the live docs website when running in preview #1059

Open
vexx32 opened this issue Sep 11, 2024 · 1 comment
Open
Labels
Bug Issues where something has happened which was not expected or intended

Comments

@vexx32
Copy link
Member

vexx32 commented Sep 11, 2024

What You Are Seeing?

Opening the website root / from the yarn preview redirects the browser to the live site, rather than to the /en-us from the preview site.
2024-08-20_10-31-01

What is Expected?

Trying to open the preview site should not redirect to the live site.

How Did You Get This To Happen? (Steps to Reproduce)

  1. yarn build
  2. yarn preview
  3. Navigate to http://localhost:5086/
  4. Get redirected to https://docs.chocolatey.org/en-us/
@vexx32 vexx32 added the Bug Issues where something has happened which was not expected or intended label Sep 11, 2024
@st3phhays
Copy link
Member

@vexx32 Thanks for catching and reporting this. As a workaround for now, going to http://localhost:5086/en-us/ does seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

2 participants