feat: link with protocol on shared ports (#12908)

This commit is contained in:
Garrett Delfosse
2024-04-10 09:29:24 -04:00
committed by GitHub
parent 2f2a395ba9
commit acaa254099
6 changed files with 15 additions and 9 deletions
-4
View File
@@ -350,10 +350,6 @@ func (r Request) getDatabase(ctx context.Context, db database.Store) (*databaseR
}
// No port share found, so we keep default to owner.
} else {
if ps.Protocol == database.PortShareProtocolHttps {
// Apply HTTPS protocol if specified.
appURL = fmt.Sprintf("https://127.0.0.1:%d", portUint)
}
appSharingLevel = ps.ShareLevel
}
} else {