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

Dev: Process match fixes #825

Merged
merged 2 commits into from
Apr 13, 2020
Merged

Dev: Process match fixes #825

merged 2 commits into from
Apr 13, 2020

Conversation

RaeesBhatti
Copy link
Contributor

- Summary
Just another improvement. This mean that when proxying to an app server, it will process the redirect even if a static file exists. Which is the behavior we want. Also makes sure that we only use status code from matched rule if we're going to rewrite.

Fixes: #640

- Test plan
netlify dev in create-react-app project

- Description for the changelog

  • Process rewrite rules for app server as well
  • Only update status code when a rewrite is made

- A picture of a cute animal (not mandatory but encouraged)
🐿

@RaeesBhatti RaeesBhatti merged commit bff9fb7 into master Apr 13, 2020
@RaeesBhatti RaeesBhatti deleted the raees/redirect-improvement branch April 13, 2020 19:02
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.

[dev redirects] ignore redirects in netlify toml for dev server only
2 participants