全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 595|回复: 2

这个源码有问题?

[复制链接]
发表于 2020-10-2 15:27:23 | 显示全部楼层 |阅读模式
rt,想建一个聊天室,无奈没有合适的小鸡,只能用免费空间。想要一个特殊的,找到了https://github.com/DaltonWebDev/console.chat
上传成功了,一直出现
Access to fetch at 'https://console.chat/api/read.php?domain=xxxxxxxxxx' from origin 'https://xxxxxxxxx' 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.

看起来它尝试与console.chat连接,于是我修改了所有的文件,把所有的https://console.chat改成了我的域名,还是连接console.chat(这不是缓存问题吗,刷新缓存就行了)
我就尝试在本地上部署它,还是同样的报错
有大佬知道哪里有问题吗,谢!
本地:nginx
虚拟主机:IIS
 楼主| 发表于 2020-10-2 15:28:28 | 显示全部楼层
顺便说一下,console.chat请求404了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-27 10:08 , Processed in 0.059033 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表