Skip to content

Commit

Permalink
update the links to correctly access the ports
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 6, 2024
1 parent 060c234 commit ada12f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ data class GRPCApiClient(
private val channel: ManagedChannel =
Grpc.newChannelBuilderForAddress(
environment.getValue(),
5556,
if (environment == XMTPEnvironment.LOCAL) 5556 else 443,
if (secure) {
TlsChannelCredentials.create()
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.xmtp.android.library

enum class XMTPEnvironment(val rawValue: String) {
DEV("grpc.dev.xmtp.network:443"),
PRODUCTION("grpc.production.xmtp.network:443"),
DEV("grpc.dev.xmtp.network"),
PRODUCTION("grpc.production.xmtp.network"),
LOCAL("10.0.2.2") {
override fun withValue(value: String): XMTPEnvironment {
return LOCAL.apply { customValue = value }
Expand Down

0 comments on commit ada12f4

Please sign in to comment.