summaryrefslogtreecommitdiff
path: root/sw-ui-kt/src/main/kotlin/org
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-19 20:08:42 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-19 20:09:37 +0100
commita0455f9d04465720653c1a0fe137326468acc578 (patch)
tree69883855286494e6a84faf627f27b63a6a57e9ac /sw-ui-kt/src/main/kotlin/org
parentChange deprecated gradle configuration compile() to implementation() (diff)
downloadseven-wonders-a0455f9d04465720653c1a0fe137326468acc578.tar.gz
seven-wonders-a0455f9d04465720653c1a0fe137326468acc578.tar.bz2
seven-wonders-a0455f9d04465720653c1a0fe137326468acc578.zip
Upgrade to Krossbow 0.10.2 and use standard WS (not SockJS)
Diffstat (limited to 'sw-ui-kt/src/main/kotlin/org')
-rw-r--r--sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt
index 837c4db6..728a7d2f 100644
--- a/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt
+++ b/sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt
@@ -13,7 +13,8 @@ typealias SwSagaContext = SagaContext<SwState, RAction, WrapperAction>
suspend fun SwSagaContext.rootSaga() {
val action = next<RequestChooseName>()
- val session = SevenWondersClient().connect("http://localhost:8000")
+ val session = SevenWondersClient().connect("localhost:8000")
+ console.info("Connected to Seven Wonders web socket API")
coroutineScope {
launch { gameBrowserSaga(session) }
bgstack15