Browse Source

Merging sw-cleanup

yml-fixes
Matthew Raymer 11 months ago
parent
commit
8ddf7d9532
  1. 7
      src/App.vue
  2. 4343
      src/util.d.ts

7
src/App.vue

@ -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)

4343
src/util.d.ts

File diff suppressed because it is too large
Loading…
Cancel
Save