1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-29 19:09:56 +02:00

fix: absolute urls for images in pixivbridge (#2993)

This commit is contained in:
Dag
2022-09-02 20:35:17 +02:00
committed by GitHub
parent 3c2353c0ec
commit f40ed566be
2 changed files with 16 additions and 1 deletions

View File

@@ -224,6 +224,6 @@ class PixivBridge extends BridgeAbstract
file_put_contents($path, $illust);
}
return 'cache/pixiv_img/' . preg_replace('/.*\//', '', $path);
return get_home_page_url() . 'cache/pixiv_img/' . preg_replace('/.*\//', '', $path);
}
}