Skip to content

Commit

Permalink
Connect in one click
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Zatsarynnyi <[email protected]>
  • Loading branch information
azatsarynnyy committed Feb 13, 2024
1 parent 56ff7d0 commit db5819a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import java.net.URI
*/
class DevSpacesConnectionProvider : GatewayConnectionProvider {

@Suppress("UnstableApiUsage")
override suspend fun connect(parameters: Map<String, String>, requestor: ConnectionRequestor): GatewayConnectionHandle? {
val joinLink = parameters["link"]?.replace("_", "&")
LinkedClientManager.getInstance().startNewClient(Lifetime.Eternal, URI(joinLink))
Expand Down

0 comments on commit db5819a

Please sign in to comment.