我对strapi很陌生,我已经下载了strapi v4,并且作为前端我使用vue.js。
现在我创建了类别,我试图用我的vue应用程序来获取它们,但是我得到了一个cors错误。XMLHttpRequest at 'http://localhost:1337/api/categories' from origin 'http://localhost:8080' has been blocked by CORS在中,我看到我可以
我使用strapi 4作为本地主机,在通过url添加新资产时遇到了cors设置问题
图像上传采用CORS错误Access to XMLHttpRequest at 'https://www.countrysideveterinaryclinic.orgsites/default/files/interesting-cat-facts.jpg' from origin 'http://localhost:1337' has been
<anonymous> (D:\Documents\Projects\indihome\web\api\node_modules\@strapi\strapi\lib\services\entity-serviceces\server\compose-endpoi
at async D:\Documents\Projects\indihome\web\api\node_modules\@strapi\strapi\web\api\node_modules\@strapi\strapi<