We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd3bffb commit 58fa9d6Copy full SHA for 58fa9d6
1 file changed
vmm/src/app/qemu.rs
@@ -165,10 +165,14 @@ impl VmInfo {
165
.then_some(self.instance_id.as_ref())
166
.flatten()
167
.map(|id| {
168
- format!(
169
- "https://{id}-{}.{}:{}",
170
- gw.agent_port, gw.base_domain, gw.port
171
- )
+ if gw.port == 443 {
+ format!("https://{id}-{}.{}", gw.agent_port, gw.base_domain)
+ } else {
+ format!(
172
+ "https://{id}-{}.{}:{}",
173
+ gw.agent_port, gw.base_domain, gw.port
174
+ )
175
+ }
176
}),
177
app_id: self.manifest.app_id.clone(),
178
instance_id: self.instance_id.as_deref().map(Into::into),
0 commit comments