summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-01-23 01:40:00 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-01-23 01:40:00 +0100
commitb317dcbf3eea6b6024e57ec7680179a473f214fb (patch)
tree4f8499535291444f64a2089f98511074f0008842
parentWIP ChooseNameForm fix (diff)
downloadseven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.tar.gz
seven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.tar.bz2
seven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.zip
Fix server URL in react frontend
-rw-r--r--sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt2
1 files changed, 1 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 d86b8559..837c4db6 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,7 @@ typealias SwSagaContext = SagaContext<SwState, RAction, WrapperAction>
suspend fun SwSagaContext.rootSaga() {
val action = next<RequestChooseName>()
- val session = SevenWondersClient().connect("ws://localhost:8000")
+ val session = SevenWondersClient().connect("http://localhost:8000")
coroutineScope {
launch { gameBrowserSaga(session) }
bgstack15