1
0
mirror of https://github.com/chillzhuang/Sword synced 2024-11-24 11:19:26 +08:00
Sword/netlify.toml

13 lines
281 B
TOML
Raw 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