Skip to content

Commit 247069b

Browse files
committed
remove port share authority on protocol
1 parent 106417e commit 247069b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

coderd/workspaceapps/request.go

-4
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,6 @@ func (r Request) getDatabase(ctx context.Context, db database.Store) (*databaseR
342342
}
343343
// No port share found, so we keep default to owner.
344344
} else {
345-
if ps.Protocol == database.PortShareProtocolHttps {
346-
// Apply HTTPS protocol if specified.
347-
appURL = fmt.Sprintf("https://127.0.0.1:%d", portUint)
348-
}
349345
appSharingLevel = ps.ShareLevel
350346
}
351347
} else {

0 commit comments

Comments
 (0)