mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 09:03:18 +08:00
docs(warden-worker): 更新文档并添加相关图片
- 添加三张新的配置截图 - 更新环境变量配置说明,强调使用Wrangler CLI添加机密变量 - 补充关于浏览器插件API支持的注意事项
This commit is contained in:
BIN
src/content/assets/images/warden-worker-21.png
Normal file
BIN
src/content/assets/images/warden-worker-21.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
src/content/assets/images/warden-worker-22.png
Normal file
BIN
src/content/assets/images/warden-worker-22.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
src/content/assets/images/warden-worker-23.png
Normal file
BIN
src/content/assets/images/warden-worker-23.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -81,11 +81,19 @@ Build结束,全绿
|
|||||||
先添加 **自定义域** ,填你的域名,因为 Worker 默认给的域名国内无法访问
|
先添加 **自定义域** ,填你的域名,因为 Worker 默认给的域名国内无法访问
|
||||||

|

|
||||||
|
|
||||||
再添加**变量与机密** (注意不要有空格)
|
再添加**机密环境变量** (注意不要有空格)
|
||||||
- `ALLOWED_EMAILS` your-email@example.com
|
- `ALLOWED_EMAILS` your-email@example.com
|
||||||
- `JWT_SECRET` 随机的长字符串
|
- `JWT_SECRET` 随机的长字符串
|
||||||
- `JWT_REFRESH_SECRET` 随机的长字符串
|
- `JWT_REFRESH_SECRET` 随机的长字符串
|
||||||

|
> [!CAUTION]
|
||||||
|
> 必须使用Wrangler CLI命令添加机密环境变量,如: `wrangler secret put JWT_SECRET` 这样添加的环境变量不会在新的部署中被覆盖
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
此时打开手机上的 **BitWarden** 软件,在你的自托管上创建账号即可(注意:密码一经设置将无法更改)
|
此时打开手机上的 **BitWarden** 软件,在你的自托管上创建账号即可(注意:密码一经设置将无法更改)
|
||||||

|

|
||||||
|
|
||||||
|
> [!CAUTION]
|
||||||
|
> 值得注意的是,该项目似乎仅实现了手机端的大部分API,而针对于电脑浏览器插件使用的API暂未支持,我们目前正在尝试用AI补全... Just a moment...
|
||||||
Reference in New Issue
Block a user