Skip to content
This repository was archived by the owner on Mar 28, 2026. It is now read-only.

Add Command-Line Arguments#24

Open
scmcgowen wants to merge 6 commits intoReconnectedCC:mainfrom
scmcgowen:main
Open

Add Command-Line Arguments#24
scmcgowen wants to merge 6 commits intoReconnectedCC:mainfrom
scmcgowen:main

Conversation

@scmcgowen
Copy link
Copy Markdown
Contributor

These arguments override environment variables, and are primarily meant for development.
I also ran cargo fmt this time

@EmmaKnijn EmmaKnijn requested a review from bananasov January 21, 2026 07:38

pub fn make_url(uuid: Uuid) -> Result<String, KromerError> {
let args = get_args();
let force_insecure = env::var("FORCE_WS_INSECURE").unwrap_or("true".to_owned());
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realized that I am a goddamn spoon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant