diff --git a/fe1-web/src/features/home/screens/ConnectConfirm.tsx b/fe1-web/src/features/home/screens/ConnectConfirm.tsx index f47d0d62a1..ecde70d6da 100644 --- a/fe1-web/src/features/home/screens/ConnectConfirm.tsx +++ b/fe1-web/src/features/home/screens/ConnectConfirm.tsx @@ -36,7 +36,7 @@ const ConnectConfirm = () => { const dispatch = useDispatch(); const laoIdRouteParam = route.params?.laoId || ''; - const url = route.params?.serverUrl || 'wss://127.0.0.1:9000/client'; + const url = route.params?.serverUrl || 'ws://127.0.0.1:9000/client'; const [serverUrl, setServerUrl] = useState(url); const [laoIdInput, setLaoIdInput] = useState(laoIdRouteParam); diff --git a/fe1-web/src/features/home/screens/Launch.tsx b/fe1-web/src/features/home/screens/Launch.tsx index acb78cf5b3..111cdb6302 100644 --- a/fe1-web/src/features/home/screens/Launch.tsx +++ b/fe1-web/src/features/home/screens/Launch.tsx @@ -40,7 +40,7 @@ const Launch = () => { const dispatch = useDispatch(); const [inputLaoName, setInputLaoName] = useState(''); - const [inputAddress, setInputAddress] = useState('wss://127.0.0.1:9000/client'); + const [inputAddress, setInputAddress] = useState('ws://127.0.0.1:9000/client'); // release : disable connect to test lao // eslint-disable-next-line @typescript-eslint/no-unused-vars const connectToTestLao = HomeHooks.useConnectToTestLao(); diff --git a/fe1-web/src/features/home/screens/__tests__/__snapshots__/ConnectConfirm.test.tsx.snap b/fe1-web/src/features/home/screens/__tests__/__snapshots__/ConnectConfirm.test.tsx.snap index cf8cbf8174..e2adc99b4a 100644 --- a/fe1-web/src/features/home/screens/__tests__/__snapshots__/ConnectConfirm.test.tsx.snap +++ b/fe1-web/src/features/home/screens/__tests__/__snapshots__/ConnectConfirm.test.tsx.snap @@ -413,7 +413,7 @@ exports[`ConnectNavigation renders correctly 1`] = ` }, ] } - value="wss://127.0.0.1:9000/client" + value="ws://127.0.0.1:9000/client" />