Skip to content

Commit

Permalink
token权限和博客链接修改
Browse files Browse the repository at this point in the history
  • Loading branch information
wzs8 committed Nov 18, 2024
1 parent 42fa541 commit 9b9c8d5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@
- 点击 "Create Token"
- 选择 "Create Custom Token"
- 权限设置:
- Account.Workers R2 Storage: Read & Write
- Account.Workers Scripts: Edit
- Account.D1: Edit
- Account.Cloudflare Pages: Edit(如果部署后端时,已配置此权限可复用相同Token)

#### 2. NUXT_PUBLIC_API_BASE 获取
1. 登录 Cloudflare
2. 进入 Workers & Pages 页面
Expand All @@ -111,7 +110,7 @@
NUXT_PUBLIC_API_BASE=你的后端API地址
```
3. 启用 GitHub Actions
4. 推送代码触发自动部署
5. 推送代码触发自动部署(首次部署请点击 Actions 页面手动触发)

### 其他部署方式

Expand Down Expand Up @@ -157,7 +156,7 @@

## 📞 联系作者

- 博客:[Anuuu.com](https://annuuu.com)
- 博客:[Anuuu.com](https://anuuu.com)
- Telegram:[@wzsxh]


Expand Down

0 comments on commit 9b9c8d5

Please sign in to comment.