mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: link with protocol on shared ports (#12908)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user