DIYgod / DIYgod/RSSHub

Make `allowDomain` in WordPress to be configurable

Open
#11,684 2 comments 1 reaction 0 assignees View on GitHub
RSS enhancement
Dominant language
TypeScript
Stars
46.2k
Forks
10.2k
Avg merge
10h 39m
Merged PRs (30d)
171

Description

### What feature is it?

Make [`allowDomain`](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/blogs/wordpress.js#L3) configurable via environment variables.

### What problem does this feature solve?

Currently, the [`allowDomain`](https://github.com/DIYgod/RSSHub/blob/master/lib/routes/blogs/wordpress.js#L3) can only be changed by modifying the source code. The is not good if you deployed using Docker.

### Additional description

_No response_

### This is not a duplicated feature request or new RSS proposal

- [X] I have searched [existing issues](https://github.com/DIYgod/RSSHub/issues) to ensure this feature has not already been requested and this is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.