2020-04-17 09:33:36 +00:00
|
|
|
[[headers]]
|
|
|
|
|
for = "/static/*"
|
|
|
|
|
[header.values]
|
|
|
|
|
cache-control = "max-age=604800"
|
|
|
|
|
|
2019-11-22 11:04:23 +00:00
|
|
|
[context.production]
|
|
|
|
|
[context.production.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "PRODUCTION"
|
2020-01-22 12:26:25 +00:00
|
|
|
REACT_APP_BASE_URL = "https://api.appsmith.com"
|
2019-11-22 11:04:23 +00:00
|
|
|
|
|
|
|
|
[context.release]
|
|
|
|
|
[context.release.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "STAGING"
|
2020-01-22 12:26:25 +00:00
|
|
|
REACT_APP_BASE_URL = "https://release-api.appsmith.com"
|
2019-11-22 11:04:23 +00:00
|
|
|
|
|
|
|
|
[context.develop]
|
|
|
|
|
[context.develop.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "DEVELOPMENT"
|
2020-01-22 12:26:25 +00:00
|
|
|
REACT_APP_BASE_URL = "https://release-api.appsmith.com"
|
2019-11-22 11:04:23 +00:00
|
|
|
|
2020-01-10 12:22:45 +00:00
|
|
|
[context.a]
|
|
|
|
|
[context.a.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "STAGING"
|
2020-01-22 12:26:25 +00:00
|
|
|
REACT_APP_BASE_URL = "https://release-api.appsmith.com"
|
2020-01-10 12:22:45 +00:00
|
|
|
|
|
|
|
|
[context.b]
|
|
|
|
|
[context.b.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "STAGING"
|
2020-01-22 12:26:25 +00:00
|
|
|
REACT_APP_BASE_URL = "https://release-api.appsmith.com"
|
2020-05-12 19:59:36 +00:00
|
|
|
|
2020-05-14 06:43:32 +00:00
|
|
|
[context.deploy-preview]
|
|
|
|
|
[context.deploy-preview.environment]
|
|
|
|
|
REACT_APP_ENVIRONMENT = "STAGING"
|
|
|
|
|
REACT_APP_BASE_URL = "https://release-api.appsmith.com"
|
|
|
|
|
|
2020-05-12 19:59:36 +00:00
|
|
|
[[redirects]]
|
|
|
|
|
from = "/api/*"
|
|
|
|
|
to = "API_PLACEHOLDER/api/:splat"
|
|
|
|
|
status = 200
|
|
|
|
|
force = true
|
|
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
|
from = "/oauth2/*"
|
|
|
|
|
to = "API_PLACEHOLDER/oauth2/:splat"
|
|
|
|
|
status = 200
|
|
|
|
|
force = true
|
2020-05-12 20:43:22 +00:00
|
|
|
|
|
|
|
|
# This must be the last redirect in the chain because it's a catch-all
|
|
|
|
|
[[redirects]]
|
|
|
|
|
from = "/*"
|
|
|
|
|
to = "/index.html"
|
|
|
|
|
status = 200
|