Skip to content

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
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
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 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.

1 participant