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

Send status code to server response for redirects #408

Merged
merged 1 commit into from
Jan 23, 2018

Conversation

JoelMarcey
Copy link
Contributor

Also simplified the logic a bit to reduce duplication

Closes #404

Motivation

To fix error raised by @mitchellurgero in #404

Test Plan

Local testing on Docusaurus site

screenshot 2018-01-21 18 38 58

Related PRs

N/A

Also simplified the logic a bit to reduce duplication

Closes facebook#404
@JoelMarcey
Copy link
Contributor Author

I feel pretty comfortable with this. I am going to merge it. If it is bad, well, revert is our friend :)

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.

Incorrect HTTP code in places.
2 participants