Skip to content

Commit 6aca1b0

Browse files
committed
README updates
1 parent a490283 commit 6aca1b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ git clone https://your-proxy-domain.name/user-your-password/https/github.com/the
4848

4949
### 部署到cloudflare_worker
5050
- 假设你的域名已经管理在cloudflare名下;
51-
- git clone本项目,并使用文本编辑器打开build/worker.js (不用git clone,直接下载文件也可以,这是[链接]https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js)
51+
- git clone本项目,并使用文本编辑器打开build/worker.js, 不用git clone,直接下载文件也可以,这是[链接](https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js)
5252
- 搜索```http://localhost:5006```字符串,将它替换为你的代理服务器的域名,比如```https://your-proxy-domain.name```,注意是https
5353
- 同时搜索user22334455,将其修改为你自己想设置的密码, 为空时表示不需要密码就可以访问。
5454
- 创建一个worker,并编辑worker,将上一步编辑过的worker.js拷贝粘贴到worker里面,不要管错误提示,保存部署。

README_english.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ git clone https://your-proxy-domain.name/user-your-password/https/github.com/the
3232

3333
### Deploying to Cloudflare Worker
3434
- Assume your domain is already managed under Cloudflare (in case you want to use your domain name)
35-
- Git clone this project and use a text editor to open build/worker.js (you can also download this file directly, here is the [link]https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js)
35+
- Git clone this project and use a text editor to open build/worker.js (you can also download this file directly, here is the [link](https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js)
3636
- Search for the string http://localhost:5006 and replace it with your proxy server's domain, such as https://your-proxy-domain.name. Must be https please. Also, search for user22334455 and change it to a password of your choosing, empty password means no password is needed.
3737
- Create a worker and edit it by copying and pasting the modified worker.js into the worker, then save and deploy.
3838
- If you use cloudflare worker domain, skip this step, If you want to use your own domain name, on the Workers & Pages page, open the worker you just saved, click 'Settings'->'Triggers' at the top, then 'Add custom domain', setting it to your proxy domain.

0 commit comments

Comments
 (0)