Skip to content

Commit eb430fa

Browse files
committed
remove port share authority on protocol
1 parent 885bc32 commit eb430fa

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
@@ -350,10 +350,6 @@ func (r Request) getDatabase(ctx context.Context, db database.Store) (*databaseR
350350
}
351351
// No port share found, so we keep default to owner.
352352
} else {
353-
if ps.Protocol == database.PortShareProtocolHttps {
354-
// Apply HTTPS protocol if specified.
355-
appURL = fmt.Sprintf("https://127.0.0.1:%d", portUint)
356-
}
357353
appSharingLevel = ps.ShareLevel
358354
}
359355
} else {

0 commit comments

Comments
 (0)