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

jwt
Rinsvent 1 year ago
parent 92fd933c60
commit 0bc9aad4cf
  1. 2
      hooks/use-api.ts

@ -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…
Cancel
Save