Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
463
function
utf8ToBase64(str) {
464
return
btoa(unescape(encodeURIComponent(str)));
465
}
466
467
async
function
subHtml(request) {
468
const
url =
new
URL(request.url);
Callers
1
fetch
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected