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

Function revertFakeInfo

_worker.js:341–344  ·  view source on GitHub ↗
(content, userID, hostName)

Source from the content-addressed store, hash-verified

339}
340
341function revertFakeInfo(content, userID, hostName) {
342 content = content.replace(new RegExp(fakeUserID, 'g'), userID).replace(new RegExp(fakeHostName, 'g'), hostName);
343 return content;
344}
345
346function generateFakeInfo(content, userID, hostName) {
347 content = content.replace(new RegExp(userID, 'g'), fakeUserID).replace(new RegExp(hostName, 'g'), fakeHostName);

Callers 1

fetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected