mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-04-01 02:42:23 -05:00
fix: detect https protocol by this.url
only
This commit is contained in:
parent
626719befd
commit
be9fa29271
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class CustomAgents {
|
|||
}
|
||||
|
||||
private getParsedUrl() {
|
||||
return this.proxy ? new URL(this.proxy) : new URL(this.url);
|
||||
return new URL(this.url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue