Skip to content

temporary fix .html ending links on the client side#2300

Merged
Simek merged 1 commit intofacebook:masterfrom
Simek:fix-links-with-html
Nov 2, 2020
Merged

temporary fix .html ending links on the client side#2300
Simek merged 1 commit intofacebook:masterfrom
Simek:fix-links-with-html

Conversation

@Simek
Copy link
Copy Markdown
Collaborator

@Simek Simek commented Nov 2, 2020

Currently old links like https://reactnative.dev/docs/switch.html are leading to 404 pages.

Screenshot 2020-11-02 154949

This PR adds a temporary redirect (in same fashion as trailing slash fix) for links ending with .html.

The result isn't ideal (the redirect is visible), but this should be enough until the problem will be fixed on the built server package.

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 2, 2020

Deploy preview for react-native ready!

Built with commit 0f64dc5

https://deploy-preview-2300--react-native.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants