mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
docs(posts): 更新uptimeflare文档并添加新图片
添加uptimeflare-16.png图片并更新文档内容,说明KV数据迁移到D1的注意事项
This commit is contained in:
BIN
src/content/assets/images/uptimeflare-16.png
Normal file
BIN
src/content/assets/images/uptimeflare-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
@@ -11,7 +11,7 @@ lang: ""
|
||||
|
||||
首先,将你之前配置的Cloudflare API令牌添加一个新的权限 **编辑D1**
|
||||
|
||||
然后备份根目录的 `uptime.config.ts` ,直接 把原仓库删了,Fork我的仓库
|
||||
然后备份根目录的 `uptime.config.ts` ,直接 把原仓库删了(但是不要删KV,Worker,Page),Fork我的仓库
|
||||
|
||||
::github{repo="afoim/UptimeFlare"}
|
||||
|
||||
@@ -19,6 +19,11 @@ lang: ""
|
||||
|
||||
参阅 [UptimeFlare/uptime.config.ts at main · afoim/UptimeFlare](https://github.com/afoim/UptimeFlare/blob/main/uptime.config.ts) 主要就是将自定义callback迁移到官方的WebHook方法
|
||||
|
||||
编辑后推送,会自动触发Github Action的自动部署,它会自动将KV内的数据迁移到D1
|
||||
|
||||
这迁移到D1何意味
|
||||

|
||||
|
||||
# 前言
|
||||
本来这个教程应该是永远都不会出的,因为在此之前,我曾经给大家介绍了一个无需自托管的监控服务:[UptimeRobot](/posts/uptimerobot/)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user