mirror of
https://github.com/afoim/fuwari.git
synced 2026-01-31 00:53:19 +08:00
feat(umami): 迁移umami统计到自建实例并更新相关配置
更新所有umami API调用路径,移除`/analytics/us`前缀 将统计链接和配置从云服务迁移到自建实例 在todo列表中标记umami迁移任务为已完成 启用自建umami统计脚本并禁用云服务脚本
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
localStorage.removeItem(cacheKey);
|
||||
}
|
||||
}
|
||||
const res = await fetch(`${baseUrl}/analytics/us/api/share/${shareId}`);
|
||||
const res = await fetch(`${baseUrl}/api/share/${shareId}`);
|
||||
if (!res.ok) {
|
||||
throw new Error('获取 Umami 分享信息失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user