Skip to content

Commit f736881

Browse files
committed
Support URL
1 parent e4afb79 commit f736881

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/start-proxy-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/start-proxy-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/start-proxy-action.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ export type CertificateAuthority = {
2424

2525
export type Credential = {
2626
type: string;
27-
host: string;
27+
host?: string;
28+
url?: string;
2829
username?: string;
2930
password?: string;
3031
token?: string;
3132
};
3233

3334
function CredentialToStr(c: Credential): string {
34-
return `Type: ${c.type}; Host: ${c.host}; Username: ${c.username}; Password: ${c.password !== undefined}; Token: ${c.token !== undefined}`
35+
return `Type: ${c.type}; Host: ${c.host}; Url: ${c.url} Username: ${c.username}; Password: ${c.password !== undefined}; Token: ${c.token !== undefined}`
3536
}
3637

3738
export type BasicAuthCredentials = {

0 commit comments

Comments
 (0)