From b317dcbf3eea6b6024e57ec7680179a473f214fb Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Thu, 23 Jan 2020 01:40:00 +0100 Subject: Fix server URL in react frontend --- .../src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-ui-kt') 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 suspend fun SwSagaContext.rootSaga() { val action = next() - val session = SevenWondersClient().connect("ws://localhost:8000") + val session = SevenWondersClient().connect("http://localhost:8000") coroutineScope { launch { gameBrowserSaga(session) } -- cgit