mirror of
https://github.com/tiennm99/cloudflare-proxy.git
synced 2026-10-11 03:13:14 +00:00
fix: build proxied links from the tiennm99.workers.dev host
This commit is contained in:
1 parent
caa985439d
commit
c1bdc0b82e
1 file changed
+1
-1
@@ -65,7 +65,7 @@ async function handleRequest(request) {
|
||||
// Nếu là HTML, xử lý lại nội dung để rewrite URL
|
||||
if (resContentType.includes("text/html")) {
|
||||
let html = await proxiedRes.text();
|
||||
const baseProxy = `https://cloudflare-proxy.miti99.workers.dev/?url=`;
|
||||
const baseProxy = `https://cloudflare-proxy.tiennm99.workers.dev/?url=`;
|
||||
|
||||
// Chuyển các href/src/action thành proxy link
|
||||
html = html.replace(
|
||||
|
||||
Reference in new issue
Block a user