Files
fanmingming.live/worker/README.md
2024-12-02 09:57:49 +00:00

23 lines
877 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Worker.js
### 通过Cloudflare的Workers服务实现一些功以及对m3u8链接跳转代理的脚本
---
## 说明:
- `epg.js` ***支持DIYP类播放器的EPG服务***
- `radio.js` ***支持logo输出的云听FM代理***
## 部署步骤:
- 访问https://www.cloudflare.com 并登录
- 选择页面左侧的[`Workers 和 Pages`]
- 右上角选择[`创建应用程序`]——[`创建Worker`]——[`部署`]
- 点击部署后,会提示已部署,再点击[`编辑代码`]。
- 复制`.js`文件全部内容粘贴至窗口左侧的完成替换。
- 替换完成后点击右上角的[`部署`]——[`保存并部署`]。
- 选择左上角返回,找到[`设置`]——[`触发器`],右侧选择[`添加自定义域`],将自己的域名与之绑定访问即可。
## 优点:
- 支持IPv6/IPv4双栈访问
- 无需自己的服务器无任何费用