chore: Drop application host call, default to regions for info (#7457)

* chore: Drop application host call, default to regions for info
This commit is contained in:
Steven Masley
2023-05-09 09:28:25 -05:00
committed by GitHub
parent 2d62cbc83a
commit fc1bc374cb
4 changed files with 11 additions and 24 deletions
+1
View File
@@ -27,6 +27,7 @@ import (
// @Tags Applications
// @Success 200 {object} codersdk.AppHostResponse
// @Router /applications/host [get]
// @Deprecated use api/v2/regions and see the primary proxy.
func (api *API) appHost(rw http.ResponseWriter, r *http.Request) {
host := api.AppHostname
if host != "" && api.AccessURL.Port() != "" {