Closed AlessandroStaffolani closed 6 years ago
Error on setting socket server host, device ip value got from the form contain only the IP, but it is not a valid URL, so builded application doesn't work.
https://github.com/ale8193/shamir-fido/blob/7d639320a55f8c5bc906a3c85af7fa7bcb26cecc/src/components/Forms/RegisterUsingDevice.js#L109
https://github.com/ale8193/shamir-fido/blob/7d639320a55f8c5bc906a3c85af7fa7bcb26cecc/src/socket/SocketClient.js#L13-L15
Soluction add http:// before form IP and then send to SocketClient a valid URL
http://
SocketClient
Error on setting socket server host, device ip value got from the form contain only the IP, but it is not a valid URL, so builded application doesn't work.
https://github.com/ale8193/shamir-fido/blob/7d639320a55f8c5bc906a3c85af7fa7bcb26cecc/src/components/Forms/RegisterUsingDevice.js#L109
https://github.com/ale8193/shamir-fido/blob/7d639320a55f8c5bc906a3c85af7fa7bcb26cecc/src/socket/SocketClient.js#L13-L15