Skip to content

Commit 4a605b0

Browse files
committed
docs: update env for DIYgod/RSSHub#21248
1 parent bb01e9c commit 4a605b0

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/deploy/config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ It is recommended to use a non-important account, new accounts or logins from di
445445

446446
- All routes:
447447
- `YOUTUBE_KEY`: YouTube API Key, support multiple keys, split them with `,`
448+
- `YOUTUBE_VIDEO_EMBED_URL`: Base URL of the YouTube iframe embed player. Defaults to `https://www.youtube-nocookie.com/embed/`.
448449
- Extra requirements for subscriptions route:
449450
- `YOUTUBE_CLIENT_ID`: YouTube API OAuth 2.0 client ID
450451
- `YOUTUBE_CLIENT_SECRET`: YouTube API OAuth 2.0 client secret

src/zh/deploy/config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ healthcheck:
414414

415415
- 全部路由
416416
- `YOUTUBE_KEY`: YouTube API Key,支持多个 key,用英文逗号 `,` 隔开
417+
- `YOUTUBE_VIDEO_EMBED_URL`: YouTube iframe 播放器嵌入链接的基础地址。默认值为 `https://www.youtube-nocookie.com/embed/`
417418
- 订阅列表路由额外设置
418419
- `YOUTUBE_CLIENT_ID`: YouTube API 的 OAuth 2.0 客户端 ID
419420
- `YOUTUBE_CLIENT_SECRET`: YouTube API 的 OAuth 2.0 客户端 Secret

0 commit comments

Comments
 (0)