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

feat: allow scoped client certificates #15

Merged
merged 33 commits into from
Feb 6, 2024
Merged

Conversation

nachoaldamav
Copy link
Contributor

@nachoaldamav nachoaldamav commented Jan 17, 2024

Todo:

  • Get the uriToHost from another place if possible,
  • Remove @ts-expect-error

nachoaldamav and others added 6 commits January 18, 2024 11:27
* fix: use Powershell in windows CI

* revert: change step names

* fix: set OS PATH in different steps

* fix: set Windows PATH

* fix: use Powershell v5.1

* fix: specify bvm path manually

* fix: dont modify windows PATH

* fix: set BVM path in PATH

* fix: set user profile automatically
network/agent/agent.ts Outdated Show resolved Hide resolved
network/agent/agent.ts Outdated Show resolved Hide resolved
network/agent/agent.ts Outdated Show resolved Hide resolved
network/agent/agent.ts Outdated Show resolved Hide resolved
network/agent/agent.ts Outdated Show resolved Hide resolved
network/agent/agent.ts Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
withoutPort: string;
}

export function parseUri(uri: string): ParsedUri {
Copy link
Member

Choose a reason for hiding this comment

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

I don't see this used anywhere. Should it be exported?

Comment on lines 42 to 50
return {
raw: parsed.href,
parsed,
nerf: nerfDart(uri),
host: parsed.hostname,
hostOnlyDomain: convertToDomain(parsed),
withoutPort: removePort(parsed),
};
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need this function because we calculate all these fields but don't always use them, so it is wasting. Like for instance we only used withoutPort after the loop in pickSettingByUrl, so it is enough to call removePort only after the loop

@zkochan zkochan merged commit 63b35e5 into main Feb 6, 2024
16 checks passed
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