Skip to content

Commit

Permalink
Merge pull request #1755 from dedis/work-fe1-omajzoub
Browse files Browse the repository at this point in the history
Changed default connection URL from wss to ws
  • Loading branch information
pierluca authored Feb 27, 2024
2 parents e927a9f + 9854a55 commit 1c87e12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fe1-web/src/features/home/screens/ConnectConfirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion fe1-web/src/features/home/screens/Launch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
</View>
<Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ exports[`Launch renders correctly 1`] = `
]
}
testID="launch_address_selector"
value="wss://127.0.0.1:9000/client"
value="ws://127.0.0.1:9000/client"
/>
</View>
</View>
Expand Down

0 comments on commit 1c87e12

Please sign in to comment.