From d1da90be0255f6b49fcf56f6b7baee019c7f7ce4 Mon Sep 17 00:00:00 2001 From: tuzi3040 <28290621+tuzi3040@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:46:42 +0800 Subject: [PATCH] doc(install): add description for DEBUG_INFO --- docs/en/install/README.md | 2 +- docs/install/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/install/README.md b/docs/en/install/README.md index 4b97f5e1b..290428c92 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -423,7 +423,7 @@ See the relation between access key/code and white/blacklisting. `REQUEST_RETRY`: retries allowed for failed requests, default to `2` -`DEBUG_INFO`: display route information on homepage for debugging purpose, default to `false` +`DEBUG_INFO`: display route information on homepage for debugging purpose. When set to neither `true` nor `false`, use parameter `debug` to enable display, eg: . Default to `false` `NODE_ENV`: display error message on pages for authentication failing, default to `production` (i.e. no display) diff --git a/docs/install/README.md b/docs/install/README.md index 87af9dcc1..0e095ab0d 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -451,7 +451,7 @@ RSSHub 支持使用访问密钥 / 码,白名单和黑名单三种方式进行 `REQUEST_RETRY`: 请求失败重试次数,默认 `2` -`DEBUG_INFO`: 是否在首页显示路由信息,默认 `false` +`DEBUG_INFO`: 是否在首页显示路由信息。值为非 `true` `false` 时,在请求中带上参数 `debug` 开启显示,例如: 。默认 `false` `NODE_ENV`: 是否显示错误输出,默认 `production` (即关闭输出)