fix direct links on netlify

This commit is contained in:
Tao Bror Bojlén 2019-07-21 10:23:50 +03:00
parent 33e0c79611
commit 17488ff8a0
No known key found for this signature in database
GPG key ID: C6EC7AAB905F9E6F
2 changed files with 8 additions and 1 deletions

View file

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated ### Deprecated
### Removed ### Removed
### Fixed ### Fixed
- Previously, direct links to /about would return a 404 on Netlify's infrastructure. Now it's fixed.
### Security ### Security
## [2.0.0] - 2019-07-20 ## [2.0.0] - 2019-07-20

View file

@ -9,4 +9,10 @@
REACT_APP_STAGING = "true" REACT_APP_STAGING = "true"
[context.deploy-preview.environment] [context.deploy-preview.environment]
REACT_APP_STAGING = "true" REACT_APP_STAGING = "true"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200