@@ -22,7 +22,6 @@ import (
2222"github.com/coder/coder/v2/coderd/coderdtest"
2323"github.com/coder/coder/v2/coderd/workspaceapps"
2424"github.com/coder/coder/v2/coderd/workspaceapps/appurl"
25- "github.com/coder/coder/v2/coderd/workspaceapps/cors"
2625"github.com/coder/coder/v2/codersdk"
2726"github.com/coder/coder/v2/codersdk/agentsdk"
2827"github.com/coder/coder/v2/cryptorand"
@@ -102,7 +101,7 @@ type App struct {
102101Path string
103102
104103// Control the behavior of CORS handling.
105- CORSBehavior cors .AppCORSBehavior
104+ CORSBehavior codersdk .AppCORSBehavior
106105}
107106
108107// Details are the full test details returned from setupProxyTestWithFactory.
@@ -271,15 +270,15 @@ func setupProxyTestWithFactory(t *testing.T, factory DeploymentFactory, opts *De
271270WorkspaceName :workspace .Name ,
272271AgentName :agnt .Name ,
273272AppSlugOrPort :proxyTestAppNamePublicCORSPassthru ,
274- CORSBehavior :cors .AppCORSBehaviorPassthru ,
273+ CORSBehavior :codersdk .AppCORSBehaviorPassthru ,
275274Query :proxyTestAppQuery ,
276275}
277276details .Apps .AuthenticatedCORSPassthru = App {
278277Username :me .Username ,
279278WorkspaceName :workspace .Name ,
280279AgentName :agnt .Name ,
281280AppSlugOrPort :proxyTestAppNameAuthenticatedCORSPassthru ,
282- CORSBehavior :cors .AppCORSBehaviorPassthru ,
281+ CORSBehavior :codersdk .AppCORSBehaviorPassthru ,
283282Query :proxyTestAppQuery ,
284283}
285284details .Apps .PublicCORSDefault = App {