Skip to content

Conversation

@endiliey
Copy link
Contributor

@endiliey endiliey commented Jul 1, 2018

Motivation

#799 make the routing stricter to properly use baseUrl to prevent routing bugs.

However, currently local dev will always load localhost:port regardless of baseUrl. We should always load the correct baseUrl.

Fix #818

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

use /reason/ as baseUrl

cd website
yarn start

1

use / as baseUrl

cd website
yarn start

2

@endiliey endiliey requested review from chenglou and yangshun July 1, 2018 04:43
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jul 1, 2018
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 8c88a6f

https://deploy-preview-819--docusaurus-preview.netlify.com

@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Jul 1, 2018

Deploy preview for docusaurus-preview ready!

Built with commit e1f4cbf

https://deploy-preview-819--docusaurus-preview.netlify.com

@yangshun yangshun merged commit e619884 into facebook:master Jul 1, 2018
@endiliey endiliey deleted the baseurl branch July 4, 2018 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants