docs(posts): 更新uptimeflare文档并添加新图片

添加uptimeflare-16.png图片并更新文档内容,说明KV数据迁移到D1的注意事项
This commit is contained in:
二叉树树
2026-01-04 03:08:39 +08:00
parent 5ef48de5c9
commit 074d4f2a12
2 changed files with 6 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -11,7 +11,7 @@ lang: ""
首先将你之前配置的Cloudflare API令牌添加一个新的权限 **编辑D1**
然后备份根目录的 `uptime.config.ts` ,直接 把原仓库删了Fork我的仓库
然后备份根目录的 `uptime.config.ts` ,直接 把原仓库删了但是不要删KVWorkerPageFork我的仓库
::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何意味
![](../assets/images/uptimeflare-16.png)
# 前言
本来这个教程应该是永远都不会出的,因为在此之前,我曾经给大家介绍了一个无需自托管的监控服务:[UptimeRobot](/posts/uptimerobot/)