问一下,本地的html做POST的跨域问题要怎么解决?要修改s.yaml吗?因为是本地访问,客户端传递的Origin是null。Access to XMLHttpRequest at ‘http://函数计算域名/test’ from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

问一下,本地的html做POST的跨域问题要怎么解决?要修改s.yaml吗?因为是本地访问,客户端传递的Origin是null。Access to XMLHttpRequest at ‘http://函数计算域名/test’ from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
