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(routes): redirect / => /en-US/ except for writers #10778

Merged
merged 1 commit into from Mar 25, 2024

Conversation

caugner
Copy link
Contributor

@caugner caugner commented Mar 25, 2024

Summary

Problem

Previously, http://localhost:3000/ showed an incomplete homepage, except for writers (WRITER_MODE=true) who see the writer's homepage.

Solution

Now, we redirect to /en-US/ for developers, to avoid confusion.


How did you test this change?

Ran yarn start and visited http://localhost:3000/ with and without WRITER_MODE enabled.

Previously, http://localhost:3000/ showed an incomplete homepage,
except for writers (WRITER_MODE=true) who see the writer's homepage.

Now, we redirect to /en-US/ for developers, to avoid confusion.
@caugner caugner requested a review from a team as a code owner March 25, 2024 10:14
@caugner caugner merged commit 7d694d0 into main Mar 25, 2024
14 checks passed
@caugner caugner deleted the redirect-local-homepage-to-en-us branch March 25, 2024 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants