Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
netptop committed Sep 17, 2020
1 parent 2e90178 commit 2e2476f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ user browser +-------------->+ siteproxy +-------> wikipedia
## 部署到cloudflare worker
```
1. 注册一个cloudflare账户
2. 在cloudflare上创建一个worker, 记下这个worker的子域名, 比如 abcd123.xxxx.cloudflare.dev
3. 找到本repo的build/worker.js文件,用文本编辑器打开,搜索siteproxy.netptop.cloudflare.dev,替换成你的子域名
2. 在cloudflare上创建一个worker, 记下这个worker的子域名, 比如 abcd123.xxxx.workers.dev
3. 找到本repo的build/worker.js文件,用文本编辑器打开,搜索siteproxy.netptop.workers.dev,替换成你的子域名
4. 在cloudflare上编辑刚刚创建的worker, 将worker.js所有内容拷贝粘贴到worker里面,保存
5. 现在应该可以在浏览器中 访问你的子域名了
```
Expand Down

0 comments on commit 2e2476f

Please sign in to comment.