10000 Use Host() not String() · coder/coder@4cd147c · GitHub
[go: up one dir, main page]

Skip to content

Commit 4cd147c

Browse files
committed
Use Host() not String()
1 parent ac581e9 commit 4cd147c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/coderd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ func New(options *Options) *API {
15501550
proxies := []*proxyhealth.ProxyHost{
15511551
{
15521552
Host: api.AccessURL.Host,
1553-
AppHost: appurl.ConvertAppHostForCSP(api.AccessURL.String(), api.AppHostname),
1553+
AppHost: appurl.ConvertAppHostForCSP(api.AccessURL.Host, api.AppHostname),
15541554
},
15551555
}
15561556
if f := api.WorkspaceProxyHostsFn.Load(); f != nil {

0 commit comments

Comments
 (0)
0