Поправил формирвоание адреса
This commit is contained in:
parent
92fd933c60
commit
0bc9aad4cf
@ -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
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user