x2rr / funds

自选基金助手是一款Chrome扩展,用来快速获取关注基金的实时数据,查看自选基金的实时估值情况
https://x2rr.github.io/funds/docs/dist/index.html
GNU General Public License v3.0
2.23k stars 279 forks source link

基金助手又无限转圈圈,是不是接口出问题了 #234

Closed shenhui0929 closed 10 months ago

shenhui0929 commented 11 months ago

基金助手又无限转圈圈,是不是接口出问题了

cjy1998 commented 11 months ago

+1

x2rr commented 11 months ago

插件改dns解析地址了,具体生效时间与各地dns服务器有关,可尝试清除缓存 (原基金数据不支持跨域,所以用服务器做了中转,服务器为有效期90天的gcp,所以需要定期修改dns解析)

lucky-wh commented 11 months ago

具体怎么操作呢?

cjy1998 commented 11 months ago

具体怎么操作呢?

打开浏览器的设置,然后清除一下缓存就好了

yy4020 commented 11 months ago

具体怎么操作呢?

打开浏览器的设置,然后清除一下缓存就好了

666 果然清下缓存就好了~

HerbLuo commented 11 months ago

真的可以了哇

ShinChven commented 11 months ago

能不能把服务端部署到cloudflare 然后用户可以自行配置后端。

ShinChven commented 11 months ago

popup.html:1 Access to XMLHttpRequest at 'https://fund.rabt.top/api/js/012620.js' (redirected from 'http://fund.rabt.top/api/js/012620.js') from origin 'chrome-extension://dhdelcemeednchdmijiocipbjlknndff' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

新写的服务有跨域的问题

HerbLuo commented 11 months ago

popup.html:1 Access to XMLHttpRequest at 'https://fund.rabt.top/api/js/012620.js' (redirected from 'http://fund.rabt.top/api/js/012620.js') from origin 'chrome-extension://dhdelcemeednchdmijiocipbjlknndff' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

新写的服务有跨域的问题

好像Chrome插件本来就可以直接绕过跨域这个问题的

HerbLuo commented 11 months ago
image