Merge pull request #6705 from cli/jshorty/new-pfs-domain

Use new domain for forwarded ports
This commit is contained in:
Jake Shorty 2022-12-09 13:31:39 -05:00 committed by GitHub
commit c21408fc01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ type portInfo struct {
}
func (pi *portInfo) BrowseURL() string {
return fmt.Sprintf("https://%s-%d.githubpreview.dev", pi.codespace.Name, pi.Port.SourcePort)
return fmt.Sprintf("https://%s-%d.preview.app.github.dev", pi.codespace.Name, pi.Port.SourcePort)
}
func (pi *portInfo) Label() string {