sadg456 commited on
Commit
e728997
·
verified ·
1 Parent(s): b3119a2

Update config.jsonc

Browse files
Files changed (1) hide show
  1. config.jsonc +2 -2
config.jsonc CHANGED
@@ -2,7 +2,7 @@
2
  "version": "2025.2.10.1", // 配置版本号,可在更新时用于确定更改内容, ** 见: data_json_update.md **
3
  "debug": false, // Flask 服务器的 debug 开关, 无需更改
4
  "host": "0.0.0.0", // 监听地址, 0.0.0.0 (IPV6: ::) 表示所有
5
- "port": 9010, // 监听端口, 默认 9010
6
  "timezone": "Asia/Shanghai", // 控制网页 / API 返回中时间的时区
7
  "metrics": true, // 控制是否启用 metrics 接口 (用于统计接口调用次数)
8
  "secret": "", // 密钥, 更新状态使用
@@ -23,7 +23,7 @@
23
  ],
24
  "data_check_interval": 30, // 多久检查一次 data.json 是否有更改 (秒)
25
  "other": { // 其他配置 (网页上的信息)
26
- "user": "User", // 你的名字
27
  "background": "https://imgapi.siiway.top/image", // 背景图片 url
28
  // 推荐 repo: [siiway/imgapi](https://github.com/siiway/imgapi)
29
  "alpha": 0.85, // 卡片不透明度设置 (0 ~ 1), 0 为完全透明, 1 为完全不透明
 
2
  "version": "2025.2.10.1", // 配置版本号,可在更新时用于确定更改内容, ** 见: data_json_update.md **
3
  "debug": false, // Flask 服务器的 debug 开关, 无需更改
4
  "host": "0.0.0.0", // 监听地址, 0.0.0.0 (IPV6: ::) 表示所有
5
+ "port": 7860, // 监听端口, 默认 9010
6
  "timezone": "Asia/Shanghai", // 控制网页 / API 返回中时间的时区
7
  "metrics": true, // 控制是否启用 metrics 接口 (用于统计接口调用次数)
8
  "secret": "", // 密钥, 更新状态使用
 
23
  ],
24
  "data_check_interval": 30, // 多久检查一次 data.json 是否有更改 (秒)
25
  "other": { // 其他配置 (网页上的信息)
26
+ "user": "zmal", // 你的名字
27
  "background": "https://imgapi.siiway.top/image", // 背景图片 url
28
  // 推荐 repo: [siiway/imgapi](https://github.com/siiway/imgapi)
29
  "alpha": 0.85, // 卡片不透明度设置 (0 ~ 1), 0 为完全透明, 1 为完全不透明