当我使用函数向数据库添加数据时,在服务器端添加了
如何禁用CORS?
Access-Control-Allow-Origin
以避免CORS阻止,但是浏览器控制台仍然出现错误。请注意保留HTML标签。Access to XMLHttpRequest at 'https://int.goo.id/api/pg/sso.register' from origin 'http://127.0.0.1:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
如何禁用CORS?