fix: fix app hostname returning port number (#5441)

This commit is contained in:
Dean Sheather
2022-12-16 04:43:00 +10:00
committed by GitHub
parent 44c10bbe3c
commit 787b8b2a51
5 changed files with 57 additions and 17 deletions

View File

@ -61,6 +61,7 @@ type Options struct {
AccessURL *url.URL
// AppHostname should be the wildcard hostname to use for workspace
// applications INCLUDING the asterisk, (optional) suffix and leading dot.
// It will use the same scheme and port number as the access URL.
// E.g. "*.apps.coder.com" or "*-apps.coder.com".
AppHostname string
// AppHostnameRegex contains the regex version of options.AppHostname as