diff --git a/fe1-web/src/features/home/screens/ConnectConfirm.tsx b/fe1-web/src/features/home/screens/ConnectConfirm.tsx index c8539f8211..f47d0d62a1 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 || 'ws://localhost:9000/organizer/client'; + const url = route.params?.serverUrl || 'wss://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 e5e2427c5a..acb78cf5b3 100644 --- a/fe1-web/src/features/home/screens/Launch.tsx +++ b/fe1-web/src/features/home/screens/Launch.tsx @@ -40,8 +40,9 @@ const Launch = () => { const dispatch = useDispatch(); const [inputLaoName, setInputLaoName] = useState(''); - const [inputAddress, setInputAddress] = useState('ws://127.0.0.1:9000/organizer/client'); - + const [inputAddress, setInputAddress] = useState('wss://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(); const requestCreateLao = HomeHooks.useRequestCreateLao(); @@ -102,9 +103,10 @@ const Launch = () => { {STRINGS.launch_button_launch} + {/* release: Disable the MockServer [TEST] Connect to LocalMockServer.ts (use 'npm run startServer') - + } */} 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 d8d9f380dd..4b848a54ea 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="ws://localhost:9000/organizer/client" + value="wss://127.0.0.1:9000/client" /> @@ -581,85 +581,6 @@ exports[`Launch renders correctly 1`] = ` - - - - - - [TEST] Connect to LocalMockServer.ts (use 'npm run startServer') - - - - -