mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
eb66cc9f35
* chore: move app proxying code to workspaceapps pkg
Moves path-app, subdomain-app and reconnecting PTY proxying to the new
workspaceapps.WorkspaceAppServer struct. This is in preparation for
external workspace proxies.
Updates app logout flow to avoid redirecting to coder-logout.${app_host}
on logout. Instead, all subdomain app tokens owned by the logging-out
user will be deleted every time you logout for simplicity sake.
Tests will remain in their original package, pending being moved to an
apptest package (or similar).
Co-authored-by: Steven Masley <stevenmasley@coder.com>
9 lines
235 B
Go
9 lines
235 B
Go
package workspaceapps_test
|
|
|
|
// NOTE: for now, app proxying tests are still in their old locations, pending
|
|
// being moved to their own package.
|
|
//
|
|
// See:
|
|
// - coderd/workspaceapps_test.go
|
|
// - coderd/workspaceagents_test.go (for PTY)
|