Skip to content

Commit

Permalink
Add client fragment tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-blog committed Apr 17, 2024
1 parent e69f856 commit 2844cf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/worker-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs: # 工作流程中的任务
uses: actions/checkout@v2 # 使用actions/checkout动作

- name: Zip the worker file # 将_worker.js文件打包成worker.zip
run: zip workers.zip _worker.js package-lock.json package.json wrangler.toml # 使用zip命令直接打包
run: zip cf-wkrs-pages-vless.zip _worker.js package-lock.json package.json wrangler.toml # 使用zip命令直接打包

- name: Commit and push the packaged file # 提交并推送打包后的文件
uses: EndBug/add-and-commit@v7 # 使用EndBug/add-and-commit动作
with:
add: 'workers.zip' # 指定要提交的文件
add: 'cf-wkrs-pages-vless.zip' # 指定要提交的文件
message: 'Automatically package and commit worker.zip' # 提交信息
author_name: GitHub Actions # 提交者名称
author_email: actions@github.com # 提交者邮箱
Expand Down
3 changes: 2 additions & 1 deletion _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,8 @@ SNI 域名:${hostName}
${vlessTlsLink}
提示:如使用 workers.dev 域名,由于中国大陆内域名被污染,则无法使用 TLS 端口
提示:部分地区有 CF 默认域名被污染的情况,除非打开客户端的 TLS 分片功能,否则无法使用 TLS 端口的节点
如为 Pages 部署的节点则只能使用 TLS 端口的节点
---------------------------------------------------------------
更多教程,请关注:小御坂的破站
`;
Expand Down

0 comments on commit 2844cf1

Please sign in to comment.