Skip to content

Commit 0727535

Browse files
authored
fix: correct app url format in comment (#11523)
1 parent 6e5c2ef commit 0727535

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codersdk/deployment.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -2203,10 +2203,10 @@ type AppHostResponse struct {
22032203
Host string `json:"host"`
22042204
}
22052205

2206-
// AppHost returns the site-wide application wildcard hostname without the
2207-
// leading "*.", e.g. "apps.coder.com". Apps are accessible at:
2208-
// "<app-name>--<agent-name>--<workspace-name>--<username>.<app-host>", e.g.
2209-
// "my-app--agent--workspace--username.apps.coder.com".
2206+
// AppHost returns the site-wide application wildcard hostname
2207+
// e.g. "*--apps.coder.com". Apps are accessible at:
2208+
// "<app-name>--<agent-name>--<workspace-name>--<username><app-host>", e.g.
2209+
// "my-app--agent--workspace--username--apps.coder.com".
22102210
//
22112211
// If the app host is not set, the response will contain an empty string.
22122212
func (c *Client) AppHost(ctx context.Context) (AppHostResponse, error) {

0 commit comments

Comments
 (0)