fix direct links on netlify
This commit is contained in:
parent
33e0c79611
commit
17488ff8a0
|
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Deprecated
|
||||
### Removed
|
||||
### Fixed
|
||||
- Previously, direct links to /about would return a 404 on Netlify's infrastructure. Now it's fixed.
|
||||
### Security
|
||||
|
||||
## [2.0.0] - 2019-07-20
|
||||
|
|
|
@ -9,4 +9,10 @@
|
|||
REACT_APP_STAGING = "true"
|
||||
|
||||
[context.deploy-preview.environment]
|
||||
REACT_APP_STAGING = "true"
|
||||
REACT_APP_STAGING = "true"
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
|
|
Loading…
Reference in a new issue