feat: link with protocol on shared ports (#12908)

This commit is contained in:
Garrett Delfosse
2024-04-10 09:29:24 -04:00
committed by GitHub
parent 2f2a395ba9
commit acaa254099
6 changed files with 15 additions and 9 deletions
+7
View File
@@ -116,6 +116,7 @@ type Details struct {
Authenticated App
Public App
Port App
PortHTTPS App
}
}
@@ -247,6 +248,12 @@ func setupProxyTestWithFactory(t *testing.T, factory DeploymentFactory, opts *De
AgentName: agnt.Name,
AppSlugOrPort: strconv.Itoa(int(opts.port)),
}
details.Apps.PortHTTPS = App{
Username: me.Username,
WorkspaceName: workspace.Name,
AgentName: agnt.Name,
AppSlugOrPort: strconv.Itoa(int(opts.port)) + "s",
}
return details
}