Sword/netlify.toml

13 lines
281 B
TOML
Raw Permalink Normal View History

2019-02-13 17:16:39 +08:00
[[redirects]]
from = "/api/*"
to = "https://us-central1-antd-pro.cloudfunctions.net/api/api/:splat"
status = 200
force = true
[redirects.headers]
X-From = "Netlify"
X-Api-Key = "some-api-key-string"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200