uniswap-interface-uncensored/netlify.toml
Noah Zinsmeister c48a7f26cc
improve network env stuff (#621)
* improve network env setup
2020-01-29 18:48:33 -05:00

21 lines
450 B
TOML

# block some countries
[[redirects]]
from = "/*"
to = "/451.html"
status = 451
force = true
conditions = {Country=["BY","CU","IR","IQ","CI","LR","KP","SD","SY","ZW"]}
headers = {Link="<https://uniswap.exchange>"}
# support SPA setup
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[build.environment]
REACT_APP_IS_PRODUCTION_DEPLOY = "false"
[context.production.environment]
REACT_APP_IS_PRODUCTION_DEPLOY = "true"