Blame view

netlify.toml 290 Bytes
cc26d1fc   张志伟   🎉 重新构建项目,解决项目过大的问题
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  [build]
    functions = "./functions"
  
  [[redirects]]
    from = "/api/*"
    to = "/.netlify/functions/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