Skip to content

Commit

Permalink
fix: ws client connects to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed May 24, 2024
1 parent c8820e8 commit f0cb5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/gg/skytils/skytilsws/client/WSClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object WSClient {
suspend fun openConnection() {
if (session != null) error("Session already open")

wsClient.webSocketSession("ws://localhost:9998/ws").apply {
wsClient.webSocketSession(System.getProperty("skytils.websocketURL", "wss://ws.skytils.gg/ws")).apply {
session = this
try {
sendSerialized<Packet>(C2SPacketConnect(SkytilsWS.version, Skytils.VERSION))
Expand Down

0 comments on commit f0cb5d2

Please sign in to comment.