use headscale server url as domain instead of base_domain (#2338)
This commit is contained in:
parent
caad5c613d
commit
e4a3dcc3b8
2 changed files with 13 additions and 3 deletions
|
@ -105,8 +105,7 @@ func generateUserProfiles(
|
|||
|
||||
var profiles []tailcfg.UserProfile
|
||||
for _, user := range userMap {
|
||||
profiles = append(profiles,
|
||||
user.TailscaleUserProfile())
|
||||
profiles = append(profiles, user.TailscaleUserProfile())
|
||||
}
|
||||
|
||||
return profiles
|
||||
|
@ -455,7 +454,7 @@ func (m *Mapper) baseWithConfigMapResponse(
|
|||
|
||||
resp.DERPMap = m.derpMap
|
||||
|
||||
resp.Domain = m.cfg.BaseDomain
|
||||
resp.Domain = m.cfg.Domain()
|
||||
|
||||
// Do not instruct clients to collect services we do not
|
||||
// support or do anything with them
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue