diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-01-23 01:40:00 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-01-23 01:40:00 +0100 |
commit | b317dcbf3eea6b6024e57ec7680179a473f214fb (patch) | |
tree | 4f8499535291444f64a2089f98511074f0008842 /sw-ui-kt | |
parent | WIP ChooseNameForm fix (diff) | |
download | seven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.tar.gz seven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.tar.bz2 seven-wonders-b317dcbf3eea6b6024e57ec7680179a473f214fb.zip |
Fix server URL in react frontend
Diffstat (limited to 'sw-ui-kt')
-rw-r--r-- | sw-ui-kt/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt | 2 |
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) } |