feat: move shared ports out of experiment (#13120)

This commit is contained in:
Garrett Delfosse
2024-05-02 14:11:33 -04:00
committed by GitHub
parent c2cb0e9fe2
commit c550d0641d
16 changed files with 214 additions and 266 deletions
-3
View File
@@ -1055,9 +1055,6 @@ func New(options *Options) *API {
r.Put("/autoupdates", api.putWorkspaceAutoupdates)
r.Get("/resolve-autostart", api.resolveAutostart)
r.Route("/port-share", func(r chi.Router) {
r.Use(
httpmw.RequireExperiment(api.Experiments, codersdk.ExperimentSharedPorts),
)
r.Get("/", api.workspaceAgentPortShares)
r.Post("/", api.postWorkspaceAgentPortShare)
r.Delete("/", api.deleteWorkspaceAgentPortShare)