MOxFIVE / hexo-theme-yelee

简而不减 Hexo 双栏博客主题; Another simple and elegant theme for Hexo.
http://moxfive.xyz/
1.38k stars 328 forks source link

本地运行搜索功能正常,上传到gitee库里面网上运行时浏览器显示search.xml文件被拦截了 #257

Closed fishUPs closed 3 years ago

fishUPs commented 3 years ago

谷歌浏览器,f12显示search.xml文件405错误和 Request Method: OPTIONS Status Code: 405 Not Allowed

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. 但是在本地运行完全正常