@@ -22,7 +22,6 @@ import (
22
22
"github.com/coder/coder/v2/coderd/coderdtest"
23
23
"github.com/coder/coder/v2/coderd/workspaceapps"
24
24
"github.com/coder/coder/v2/coderd/workspaceapps/appurl"
25
- "github.com/coder/coder/v2/coderd/workspaceapps/cors"
26
25
"github.com/coder/coder/v2/codersdk"
27
26
"github.com/coder/coder/v2/codersdk/agentsdk"
28
27
"github.com/coder/coder/v2/cryptorand"
@@ -102,7 +101,7 @@ type App struct {
102
101
Path string
103
102
104
103
// Control the behavior of CORS handling.
105
- CORSBehavior cors .AppCORSBehavior
104
+ CORSBehavior codersdk .AppCORSBehavior
106
105
}
107
106
108
107
// Details are the full test details returned from setupProxyTestWithFactory.
@@ -271,15 +270,15 @@ func setupProxyTestWithFactory(t *testing.T, factory DeploymentFactory, opts *De
271
270
WorkspaceName :workspace .Name ,
272
271
AgentName :agnt .Name ,
273
272
AppSlugOrPort :proxyTestAppNamePublicCORSPassthru ,
274
- CORSBehavior :cors .AppCORSBehaviorPassthru ,
273
+ CORSBehavior :codersdk .AppCORSBehaviorPassthru ,
275
274
Query :proxyTestAppQuery ,
276
275
}
277
276
details .Apps .AuthenticatedCORSPassthru = App {
278
277
Username :me .Username ,
279
278
WorkspaceName :workspace .Name ,
280
279
AgentName :agnt .Name ,
281
280
AppSlugOrPort :proxyTestAppNameAuthenticatedCORSPassthru ,
282
- CORSBehavior :cors .AppCORSBehaviorPassthru ,
281
+ CORSBehavior :codersdk .AppCORSBehaviorPassthru ,
283
282
Query :proxyTestAppQuery ,
284
283
}
285
284
details .Apps .PublicCORSDefault = App {