【已解决】静态项目构建后上传到服务器卡在读条界面了

地址:garryui.cn

构建完点击“运行”可以正常打开,但是从build文件夹中打开index就报错并卡在读条界面,上传到服务器后也是卡读条界面,但是没报错了

以前都没有这些问题的

Access to XMLHttpRequest at ‘file:///E:/01-work/garryui2021/02-Develop/garryui2021/build/web-mobile/assets/internal/config.279e0.json’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, weapp, https.

这是要用web服务器吧, 可以直接运行index ?

感谢回复。我那个域名可以访问了。之前不知道什么原因卡蓝条了,一慌张运行index不成功就以为有关联。