mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 18:48:12 +08:00
feat: header x-app -> server
This commit is contained in:
@@ -77,7 +77,7 @@ const requestWrapper = (url, options) => {
|
||||
}
|
||||
options.headers['user-agent'] = config.ua;
|
||||
}
|
||||
options.headers['x-app'] = 'RSSHub';
|
||||
options.headers.server = 'RSSHub';
|
||||
};
|
||||
|
||||
const httpWrap = (func) => {
|
||||
|
||||
Reference in New Issue
Block a user