fix: read new property from about (#18)

This commit is contained in:
Mariano Goldman 2024-01-10 10:47:07 -03:00 committed by GitHub
parent 3b354dee1e
commit 9df2952ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,8 @@ function ConnectToWorld(props: Props) {
console.log(aboutResponse.text)
if (aboutResponse.status === 200) {
const url = JSON.parse(aboutResponse.text!)
['comms']['fixedAdapter'].replace('signed-login:', '')
['comms']['adapter'].replace('fixed-adapter:', '')
.replace('signed-login:', '')
.replace('get-comms-adapter', 'cast-adapter')
const response = await signedFetch(
url,