mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
fix: sci-hub mirror address (#6304)
This commit is contained in:
@@ -221,7 +221,7 @@ module.exports = async (ctx, next) => {
|
||||
// scihub
|
||||
if (ctx.query.scihub) {
|
||||
ctx.state.data.item.map((item) => {
|
||||
item.link = item.doi ? `https://sci-hub.tw/${item.doi}` : `https://sci-hub.tw/${item.link}`;
|
||||
item.link = item.doi ? `https://sci-hub.se/${item.doi}` : `https://sci-hub.se/${item.link}`;
|
||||
return item;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user