Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hacker News 和 Product Hunt 一直出不来内容,走网关代理也是。是否可提供屏蔽配置,加载不出来的页面上就不显示了。 #33

Closed
fc6a1b03 opened this issue Nov 13, 2024 · 4 comments

Comments

@fc6a1b03
Copy link

fc6a1b03 commented Nov 13, 2024

v0.0.9 至 v0.0.16 一直这样,应用部署在k3s集群的。
图片

@fc6a1b03
Copy link
Author

禁用 https://github.com/ourongxing/newsnow/blob/02f6f008fa954380f67cbd89d84fde498224eeba/shared/sources.ts#L80-L92C5

代理 #22

https://github.com/fc6a1b03/newsnow/blob/main/server/utils/fetch.ts
代理部分可以加进去吗?已经验证过了,主要是还得维护一个版本和同步ourongxing/newsnow的太麻烦了。

@ourongxing
Copy link
Owner

需要看看怎么能兼容 cloudflare worker 环境

@ourongxing
Copy link
Owner

没多大必要 ,因为只有两个内容源需要代理,而国内的源如果全局代理了速度反而会慢,所以还是根据自己的环境来修改代码比较好,或者你维护一个方便 docker 国内使用的版本也行。

@ourongxing ourongxing pinned this issue Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants