Browse Source

Roll back api, fix blocking

陈帅 6 years ago
parent
commit
db1423ee6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netlify.toml

+ 1 - 1
netlify.toml

@@ -3,7 +3,7 @@
 
 
 [[redirects]]
 [[redirects]]
   from = "/api/*"
   from = "/api/*"
-  to = "/.netlify/functions/api/:splat"
+  to = "https://us-central1-antd-pro.cloudfunctions.net/api/api/:splat"
   status = 200
   status = 200
   force = true
   force = true
   [redirects.headers]
   [redirects.headers]