Skip to content

Commit

Permalink
update the netlify.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw committed May 18, 2020
1 parent db516fa commit 521914f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion _redirects

This file was deleted.

8 changes: 8 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
publish = "build/"
command = "npm run build"

[[redirects]]
from = "/api/v1"
to = "https://gov-db.makerfoundation.com/api/v1"
status = 200

[[redirects]]
from = "/*"
to = "/index.html"
Expand All @@ -11,6 +16,7 @@
REACT_APP_GRAPH_HTTP = "https://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_GRAPH_WS = "wss://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_MKR_GRAPH_HTTP='https://api.thegraph.com/subgraphs/name/protofire/mkr-registry'
REACT_APP_GOV_DB_HTTP='/api/v1'
REACT_APP_ETHERSCAN_API_KEY='XQ2QTEM7H4KX7AQTE9JWXD3HWTTZ46TTU9'
REACT_APP_LAST_CACHE_UPDATE='1587733935'
REACT_APP_HOME_DATA_TTL='5' # IN MINUTES
Expand All @@ -19,6 +25,7 @@
REACT_APP_GRAPH_HTTP = "https://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_GRAPH_WS = "wss://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_MKR_GRAPH_HTTP='https://api.thegraph.com/subgraphs/name/protofire/mkr-registry'
REACT_APP_GOV_DB_HTTP='/api/v1'
REACT_APP_ETHERSCAN_API_KEY='XQ2QTEM7H4KX7AQTE9JWXD3HWTTZ46TTU9'
REACT_APP_LAST_CACHE_UPDATE='1587733935'
REACT_APP_HOME_DATA_TTL='5' # IN MINUTES
Expand All @@ -27,6 +34,7 @@
REACT_APP_GRAPH_HTTP = "https://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_GRAPH_WS = "wss://api.thegraph.com/subgraphs/name/protofire/makerdao-governance"
REACT_APP_MKR_GRAPH_HTTP='https://api.thegraph.com/subgraphs/name/protofire/mkr-registry'
REACT_APP_GOV_DB_HTTP='/api/v1'
REACT_APP_ETHERSCAN_API_KEY='XQ2QTEM7H4KX7AQTE9JWXD3HWTTZ46TTU9'
REACT_APP_LAST_CACHE_UPDATE='1587733935'
REACT_APP_HOME_DATA_TTL='5' # IN MINUTES

0 comments on commit 521914f

Please sign in to comment.