From eebe4dcaaa75e3c63630d43f351c5092bfc5aaab Mon Sep 17 00:00:00 2001 From: ZShab Niba <44338441+nibazshab@users.noreply.github.com> Date: Tue, 11 Feb 2025 16:38:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8md=E6=96=87=E6=A1=A3=E4=B8=AD=E4=BD=BF?= =?UTF-8?q?=E7=94=A8jsonc=E8=A7=A3=E5=86=B3=E6=B3=A8=E9=87=8A=E6=8A=A5?= =?UTF-8?q?=E7=BA=A2=E7=9A=84=E9=97=AE=E9=A2=98=20(#252)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_CN.md | 2 +- server/hooks/spam_block/README.md | 2 +- server/hooks/telegram_push/README.md | 2 +- server/hooks/wechat_push/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 514fe80..54f7567 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ use [https://www.mail-tester.com/](https://www.mail-tester.com/) for checking. # Configuration file format description -```json +```jsonc { "logLevel": "info", //log output level "domain": "domain.com", // Your domain diff --git a/README_CN.md b/README_CN.md index 22975fc..ba92dba 100644 --- a/README_CN.md +++ b/README_CN.md @@ -80,7 +80,7 @@ PMail是一个追求极简部署流程、极致资源占用的个人域名邮箱 # 配置文件说明 -```json +```jsonc { "logLevel": "info", //日志输出级别 "domain": "domain.com", // 你的域名 diff --git a/server/hooks/spam_block/README.md b/server/hooks/spam_block/README.md index 84fb708..06fef2e 100644 --- a/server/hooks/spam_block/README.md +++ b/server/hooks/spam_block/README.md @@ -35,7 +35,7 @@ curl -X POST http://localhost:8501/v1/models/emotion_model:predict -d '{ 将得到类似输出: -```json +```jsonc { "predictions": [ [ diff --git a/server/hooks/telegram_push/README.md b/server/hooks/telegram_push/README.md index 318cb0b..e34b551 100644 --- a/server/hooks/telegram_push/README.md +++ b/server/hooks/telegram_push/README.md @@ -6,7 +6,7 @@ Copy plugin binary file to `/plugins` add config.json to `/plugins/config.com` like this: -```json +```jsonc { "tgChatId": "", // telegram chatid "tgBotToken": "", // telegram token diff --git a/server/hooks/wechat_push/README.md b/server/hooks/wechat_push/README.md index e7926ed..d7a3f9c 100644 --- a/server/hooks/wechat_push/README.md +++ b/server/hooks/wechat_push/README.md @@ -9,7 +9,7 @@ add config.json to `/plugins/config.com` like this: 新建配置文件`/plugins/config.com`,内容如下 -```json +```jsonc { "weChatPushAppId": "", // wechat appid "weChatPushSecret": "", // weChat Secret