use router subdomain for dns resolving (#31)

This commit is contained in:
David Dollar 2019-11-27 06:46:49 -05:00 committed by GitHub
parent 52d1bbba01
commit 4614b5c356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ You will need to alias your custom domain to your Rack's router endpoint. You ca
$ convox rack
Name convox
Provider gcp
Router 0a1b2c3d4e5f.convox.cloud
Router router.0a1b2c3d4e5f.convox.cloud
Status running
Version master

View File

@ -29,7 +29,7 @@ func (p *Provider) SystemGet() (*structs.System, error) {
// }
s := &structs.System{
Domain: p.Domain,
Domain: fmt.Sprintf("router.%s", p.Domain),
Name: p.Name,
Provider: p.Provider,
Status: status,