@ -446,16 +446,17 @@ export default class App extends Vue {
"Subscription or server communication failed:",
error,
);
alert( "Subscription or server communication failed. Try again in a while." );
alert(
"Subscription or server communication failed. Try again in a while.",
});
})
.catch((error) => {
console.error("An error occurred:", error);
alert( "Some error occurred." + error );
alert("Some error occurred." + error);
}
private urlBase64ToUint8Array(base64String: string): Uint8Array {
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
const base64 = (base64String + padding)