mirror of
https://github.com/chillzhuang/Sword
synced 2024-11-22 02:09:26 +08:00
13 lines
281 B
TOML
13 lines
281 B
TOML
|
[[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
|