mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-05 15:24:23 +01:00
chore(js): publish @synonymdev/pubky@0.4.0-rc3
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "@synonymdev/pubky",
|
||||
"type": "module",
|
||||
"description": "Pubky client",
|
||||
"version": "0.4.0-rc2",
|
||||
"version": "0.4.0-rc3",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -150,8 +150,11 @@ impl Client {
|
||||
url.set_port(Some(http_port))
|
||||
.expect("coultdn't use the resolved endpoint's port");
|
||||
} else {
|
||||
url.set_port(Some(e.port()))
|
||||
.expect("coultdn't use the resolved endpoint's port");
|
||||
// TODO: where does port zero come from?
|
||||
if e.port() != 0 {
|
||||
url.set_port(Some(e.port()))
|
||||
.expect("coultdn't use the resolved endpoint's port");
|
||||
}
|
||||
}
|
||||
|
||||
url.set_host(Some(e.domain()))
|
||||
|
||||
Reference in New Issue
Block a user