MCPcopy Create free account
hub / github.com/cmliu/WorkerVless2sub / utf8ToBase64

Function utf8ToBase64

_worker.js:463–465  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

461}
462
463function utf8ToBase64(str) {
464 return btoa(unescape(encodeURIComponent(str)));
465}
466
467async function subHtml(request) {
468 const url = new URL(request.url);

Callers 1

fetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected