Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

345 B
Raw Blame
import NativeVaultManager from '@/specs/NativeVaultManager';

/**
 * Whether the server is unreachable, per the same status check the vault sync runs before syncing.
 */
export async function isServerUnreachable(): Promise<boolean> {
  try {
    return (await NativeVaultManager.checkSyncStatus()).isOffline;
  } catch {
    return false;
  }
}