Поправил формирвоание адреса

This commit is contained in:
Rinsvent 2023-04-08 17:11:45 +07:00
parent 92fd933c60
commit 0bc9aad4cf

View File

@ -13,7 +13,7 @@ const grabClient = (token: Token | null, rawToken: string | null): SMClient => {
}
}
return new SMClient({
baseUrl: 'http://' + (token?.host || 'localhost'),
baseUrl: token?.host || 'localhost',
...authentication
})
}