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

[Bug] can not set proxy properly #541

Closed
pingping99 opened this issue Mar 18, 2024 · 3 comments · Fixed by #557
Closed

[Bug] can not set proxy properly #541

pingping99 opened this issue Mar 18, 2024 · 3 comments · Fixed by #557
Assignees
Labels
bug Something isn't working

Comments

@pingping99
Copy link

Describe the bug

can not set the global proxy,only respond when attached the command : -- proxy http://localhost:port

To Reproduce

use the command tdl --proxy http://localhost:port

Expected behavior

check if there is anything wrong,or some neccery steps needs to be done

Version

Version: 0.16.1
Commit: bb2c69b
Date: 2024-03-01T13:21:31Z

go1.21.7 windows/amd64

Which OS are you running tdl on?

Windows

Additional context

No response

@pingping99 pingping99 added the bug Something isn't working label Mar 18, 2024
@XMLHexagram
Copy link
Contributor

In my view, you maybe misunderstanding the doc.

Global config is some CLI flags that can be set in every command.

If you want to add another account, just add -n YOUR_ACCOUNT_NAME option to every command:

According to the doc,
Global configuration does not mean that the configuration will be persisted or only need to be set once in global settings, they will only take effect in the current command.

You need to set them in each command.

@XMLHexagram
Copy link
Contributor

@iyear, I make PR #557 add a hint in the global-config page. I believe add a hint will do effort to correct the misunderstanding.

@Louis24
Copy link

Louis24 commented Apr 24, 2024

--proxy http://localhost:port/ in the end of cmd?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants