We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
http
1 parent 8a551f2 commit 2ca9c25Copy full SHA for 2ca9c25
templates/android/library/src/main/java/io/appwrite/Client.kt.twig
@@ -161,7 +161,7 @@ class Client @JvmOverloads constructor(
161
this.endPoint = endPoint
162
163
if (this.endPointRealtime == null && endPoint.startsWith("http")) {
164
- this.endPointRealtime = endPoint.replace("http", "ws")
+ this.endPointRealtime = endPoint.replaceFirst("http", "ws")
165
}
166
167
return this
0 commit comments