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 Express.js regex for docs & blog #739

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

endiliey
Copy link
Contributor

@endiliey endiliey commented Jun 7, 2018

Motivation

I unintentionally put ^ on docs & blogs regex for development server routing on previous PR #677.
I'm reverting it because if baseUrl is not /, it won't handle the request

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Use non / baseUrl (e.g: /test/)

cd website
yarn start

http://localhost:3000/test/blog works
blog regex

http://localhost:3000/test/docs/en/installation works
docs regex

Related PRs

#677

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 7, 2018
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-preview ready!

Built with commit 1d63be3

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

Copy link
Contributor

@JoelMarcey JoelMarcey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hotfix 🔥 😄

@JoelMarcey JoelMarcey merged commit 46661c8 into facebook:master Jun 7, 2018
@endiliey endiliey deleted the quickfix branch July 6, 2018 09:58
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.

4 participants