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

🔧 customize HTTP user-agent for fetching subscription from API. #35

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

arusuki
Copy link
Contributor

@arusuki arusuki commented Jul 15, 2024

  • 有的订阅根据user-agent判断客户端类型:比如,有的机场可能判断user-agent是否包含clash字段来判断该客户端是否是clash

  • 这种情况下,默认user-agent无法返回正确的配置文件,需要手动设置user-agent返回正确的配置文件

@nitezs nitezs merged commit 7158ad4 into nitezs:main Aug 4, 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

Successfully merging this pull request may close these issues.

2 participants