Browse Source

add netlify.tomal (#2651)

pull/2661/head
陈帅 8 years ago
committed by GitHub
parent
commit
e7c8f808df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      netlify.toml

13
netlify.toml

@ -0,0 +1,13 @@
[[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
Loading…
Cancel
Save