uptime-status/public/config.js

45 lines
863 B
JavaScript
Raw Permalink Normal View History

2022-08-09 10:16:55 +08:00
// 配置
window.Config = {
// 显示标题
2023-12-02 14:41:14 +08:00
SiteName: '浅语站点监测',
2022-08-09 10:16:55 +08:00
// UptimeRobot Api Keys
// 支持 Monitor-Specific 和 Read-Only
ApiKeys: [
2023-12-02 14:41:14 +08:00
'ur2265723-f304ae7cfe64b92fbd6147f8',
2022-08-09 10:16:55 +08:00
],
// 日志天数
// 虽然免费版说仅保存60天日志但测试好像API可以获取90天的
// 不过时间不要设置太长,容易卡,接口请求也容易失败
2022-08-09 11:53:56 +08:00
CountDays: 60,
2022-08-09 10:16:55 +08:00
// 是否显示检测站点的链接
ShowLink: true,
// 导航栏菜单
Navi: [
{
text: '主页',
2023-12-02 14:41:14 +08:00
url: 'https://uv.wiki'
2022-08-09 10:16:55 +08:00
},
{
text: '博客',
2023-12-02 14:41:14 +08:00
url: 'https://rainss.cn'
2022-08-09 10:16:55 +08:00
},
{
2023-12-02 14:41:14 +08:00
text: '工具',
url: 'https://tool.rainss.cn'
},
{
text: '监控',
url: 'https://dash.rains.autos'
},
{
text: 'Github',
url: 'https://github.com/rainerosion'
2022-08-09 10:16:55 +08:00
},
],
};