Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netptop/siteproxy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: huaji666888/siteproxy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

There isn’t anything to compare.

netptop:master and huaji666888:master are entirely different commit histories.

Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -60,8 +60,9 @@ user browser +-------------->+ siteproxy +-------> wikipedia
```
### 部署到cloudflare_worker
```
注意:workers.dev域名基本被屏蔽,建议申请一个自己的域名。
1. 注册一个cloudflare账户
2. 在cloudflare上创建一个worker, 记下这个worker的子域名, 比如 abcd123.xxxx.workers.dev
2. 在cloudflare上创建一个worker, 使用自己的域名,或者生成的这个worker的子域名, 比如 abcd123.xxxx.workers.dev
3. 下载https://raw.githubusercontent.com/netptop/siteproxy/master/build/worker.js文件,用文本编辑器打开,搜索siteproxy.netptop.workers.dev,替换成你的子域名
4. 在cloudflare上编辑刚刚创建的worker, 将worker.js所有内容拷贝,覆盖粘贴到worker里面,保存
5. 现在应该可以在浏览器中 访问你的子域名了