mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 01:05:34 +03:00
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
2 changed files with 3 additions and 0 deletions
|
@ -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