0
Fork 0
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:
fix777 2024-10-17 10:14:23 +08:00
parent 626719befd
commit be9fa29271

View file

@ -47,7 +47,7 @@ class CustomAgents {
}
private getParsedUrl() {
return this.proxy ? new URL(this.proxy) : new URL(this.url);
return new URL(this.url);
}
}