forked from trent_larson/crowd-funder-for-time-pwa
Merging sw-cleanup
This commit is contained in:
@@ -446,16 +446,17 @@ export default class App extends Vue {
|
|||||||
"Subscription or server communication failed:",
|
"Subscription or server communication failed:",
|
||||||
error,
|
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) => {
|
.catch((error) => {
|
||||||
console.error("An error occurred:", error);
|
console.error("An error occurred:", error);
|
||||||
alert( "Some error occurred." + error );
|
alert("Some error occurred." + error);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private urlBase64ToUint8Array(base64String: string): Uint8Array {
|
private urlBase64ToUint8Array(base64String: string): Uint8Array {
|
||||||
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
|
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
|
||||||
const base64 = (base64String + padding)
|
const base64 = (base64String + padding)
|
||||||
|
|||||||
4349
src/util.d.ts
vendored
4349
src/util.d.ts
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user