netlify.toml 281 B

12345678910111213
  1. [[redirects]]
  2. from = "/api/*"
  3. to = "https://us-central1-antd-pro.cloudfunctions.net/api/api/:splat"
  4. status = 200
  5. force = true
  6. [redirects.headers]
  7. X-From = "Netlify"
  8. X-Api-Key = "some-api-key-string"
  9. [[redirects]]
  10. from = "/*"
  11. to = "/index.html"
  12. status = 200