docsify-remote-markdown icon indicating copy to clipboard operation
docsify-remote-markdown copied to clipboard

CORS policy

Open a2ankitrai opened this issue 3 years ago • 1 comments

I am trying the fetch another page and get below error in the console.

Access to fetch at * from origin * has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Any configuration to resolve the same?

a2ankitrai avatar Nov 16 '21 14:11 a2ankitrai

跨域了,引入github上的md文档是可以的。应该是github的raw的域名开放了跨域权限。

mg0324 avatar Feb 08 '23 08:02 mg0324