fix boot?

This commit is contained in:
Henry Jameson 2026-08-04 15:26:13 +03:00
commit a028f1c48a

View file

@ -566,12 +566,16 @@ const afterStoreSetup = async ({ pinia, store, storageError, i18n }) => {
// Now we can try getting the server settings and logging in // Now we can try getting the server settings and logging in
// Most of these are preloaded into the index.html so blocking is minimized // Most of these are preloaded into the index.html so blocking is minimized
try {
await Promise.all([ await Promise.all([
checkOAuthToken({ store }), checkOAuthToken({ store }),
getInstancePanel({ store }), getInstancePanel({ store }),
getNodeInfo({ store }), getNodeInfo({ store }),
getInstanceConfig({ store }), getInstanceConfig({ store }),
]) ])
} catch (e) {
console.error('Error loading instance data:', e)
}
getTOS({ store }) getTOS({ store })
getStickers({ store }) getStickers({ store })