forked from abner/for-legacy-web
Make the linter happy.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export function urlBase64ToUint8Array(base64String: string) {
|
||||
const padding = "=".repeat((4 - (base64String.length % 4)) % 4);
|
||||
const base64 = (base64String + padding)
|
||||
.replace(/\-/g, "+")
|
||||
.replace(/-/g, "+")
|
||||
.replace(/_/g, "/");
|
||||
const rawData = window.atob(base64);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user