-
Notifications
You must be signed in to change notification settings - Fork 5.1k
优化配置中的 User-Agent 并修正 API 端点 #1113
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
base: main
Are you sure you want to change the base?
Conversation
更新了 BASE_HEADERS 中的 User-Agent 字符串以使用较新的 Chrome 版本,并从使用 API URL 中删除了“www.”以匹配正确的端点。
|
修復 Issue #1072 |
|
and how i use the update? |
I just resolve the issue, but wait the author merge it into the main branch. |
pyinstaller --onefile --console --name "CursorFreeVIP" --add-data "locales;locales" --add-data ".env;." --hidden-import quit_cursor --hidden-import utils main.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are clear. First change is updating Chrome user agent, second change is removing "www" to fix "401 Client Error".
|
how do i use the updated ver ? |
English
Description:
BASE_HEADERSto use a newer Chrome version.中文
描述:
BASE_HEADERS中的 User-Agent 字符串更新为较新的 Chrome 版本。