老师好,我的页面托管在 quickform.cn 上,需要通过 JS 的 fetch 读取 https://quickform.cn/static/uploads/... 的图片(用于打包 ZIP 导出)。目前浏览器报 CORS 错误:
text
No 'Access-Control-Allow-Origin' header is present on the requested resource.
请在静态文件响应头加上:
text
Access-Control-Allow-Origin: *
或允许我的页面域名跨域访问。
建议使用教师版,后续会推出 zip 上传功能,允许老师把附件也带上