mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: avoid DNS lookups for DERP in tests (#19385)
Closes https://github.com/coder/internal/issues/886
This commit is contained in:
@@ -109,7 +109,7 @@ func NewWorkspaceProxyReplica(t *testing.T, coderdAPI *coderd.API, owner *coders
|
||||
serverURL, err := url.Parse(srv.URL)
|
||||
require.NoError(t, err)
|
||||
|
||||
serverURL.Host = fmt.Sprintf("localhost:%d", tcpAddr.Port)
|
||||
serverURL.Host = fmt.Sprintf("127.0.0.1:%d", tcpAddr.Port)
|
||||
|
||||
accessURL := options.ProxyURL
|
||||
if accessURL == nil {
|
||||
|
||||
Reference in New Issue
Block a user