Skip to content

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

Open
@vexx32

Description

@vexx32

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues where something has happened which was not expected or intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions