docs: typo

This commit is contained in:
DIYgod
2020-05-02 14:00:29 +08:00
parent dfb7ea3407
commit ccf05b67ee
2 changed files with 2 additions and 2 deletions

View File

@@ -351,7 +351,7 @@ Access control includes a whitelist and a blacklist, support IP and route, use `
`SENTRY`: [Sentry](https://sentry.io) dsn, used for error tracking
`DISALLOW_ROBOT`: prevent indexing by search engine
`DISALLOW_ROBOT`: prevent indexing by search engine, default to enable, set false or 0 to disable
`HOTLINK_TEMPLATE`: Replace image link in description to avoid anti-hotlink protection, leave blank to disable this function. Usage reference [#2769](https://github.com/DIYgod/RSSHub/issues/2769). You may use any properity listed in [URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties), format of JS template literal. e.g. `${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`

View File

@@ -355,7 +355,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式
`SENTRY`: [Sentry](https://sentry.io) dsn用于错误追踪
`DISALLOW_ROBOT`: 防止被搜索引擎收录
`DISALLOW_ROBOT`: 阻止搜索引擎收录,默认开启,设置 false 或 0 关闭
`HOTLINK_TEMPLATE`: 用于处理描述中图片的链接,绕过防盗链等限制,留空不生效。用法参考[#2769](https://github.com/DIYgod/RSSHub/issues/2769)。可以使用[URL](https://developer.mozilla.org/en-US/docs/Web/API/URL#Properties)的所有属性,格式为 JS 变量模板。例子:`${protocol}//${host}${pathname}`, `https://i3.wp.com/${host}${pathname}`