Skip to content

Commit

Permalink
to: 修改pximg地址
Browse files Browse the repository at this point in the history
  • Loading branch information
journey-ad committed Oct 17, 2024
1 parent 4ce90e5 commit bfabfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const isSupportWebP = (() => {
})();

const imgProxy = url => {
let result = url.replace(/i.pximg.net/g, 'pximg.pixiv-viewer.workers.dev')
let result = url.replace(/i.pximg.net/g, 'pximg.journey-ad.workers.dev')

if (!isSupportWebP) {
result = result.replace(/_10_webp/g, '_70')
Expand Down

0 comments on commit bfabfaa

Please sign in to comment.