mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
@@ -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() != "" {
|
||||
|
||||
Reference in New Issue
Block a user