(feat): add tauth
(fix): formatted
This commit is contained in:
parent
d02bc29be0
commit
fb742bd068
15 changed files with 141 additions and 74 deletions
|
|
@ -25,10 +25,7 @@ function bytesToB64u(value: Uint8Array): string {
|
|||
output += index + 2 < value.length ? alphabet[chunk & 63] : "=";
|
||||
}
|
||||
|
||||
return output
|
||||
.replace(/\+/g, "-")
|
||||
.replace(/\//g, "_")
|
||||
.replace(/=+$/g, "");
|
||||
return output.replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue