Try disable version check
Some Mastodon instances have invalid semver 🤦♂️
E.g. social.treehouse.systems = v4.0.1+glitch+th
This commit is contained in:
parent
56cab34a9c
commit
a5177b3b70
|
@ -143,6 +143,7 @@ export function App() {
|
|||
window.masto = await login({
|
||||
url: `https://${instanceURL}`,
|
||||
accessToken,
|
||||
disableVersionCheck: true,
|
||||
});
|
||||
|
||||
const mastoAccount = await masto.accounts.verifyCredentials();
|
||||
|
@ -183,6 +184,7 @@ export function App() {
|
|||
window.masto = await login({
|
||||
url: `https://${instanceURL}`,
|
||||
accessToken,
|
||||
disableVersionCheck: true,
|
||||
});
|
||||
setIsLoggedIn(true);
|
||||
} catch (e) {
|
||||
|
|
|
@ -27,6 +27,7 @@ if (window.opener) {
|
|||
window.masto = await login({
|
||||
url: `https://${instanceURL}`,
|
||||
accessToken,
|
||||
disableVersionCheck: true,
|
||||
});
|
||||
console.info('Logged in successfully.');
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue