mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
fix: proto code was mixing different ideas
This commit is contained in:
parent
314b163b05
commit
422566a145
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ impl Config {
|
|||
|
||||
pub(crate) fn endpoint(&self) -> String {
|
||||
format!(
|
||||
"{}{}:{}",
|
||||
if self.tls() { "https://" } else { "http" },
|
||||
"{}://{}:{}",
|
||||
if self.tls() { "https" } else { "http" },
|
||||
self.host(),
|
||||
self.port()
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue