Skip to content

Commit 834516f

Browse files
committed
Added Pixiv Viewer #1071
1 parent b4f2d67 commit 834516f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/assets/javascripts/services.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
390390
}
391391
return `${randomInstance}${url.pathname}${url.search}`
392392
}
393+
case "pixivViewer":
393394
case "liteXiv":
394395
case "pixivFe": {
395396
const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname)
@@ -915,6 +916,7 @@ const defaultInstances = {
915916
painterest: ["https://pt.bloat.cat"],
916917
pixivFe: ["https://pixiv.perennialte.ch"],
917918
liteXiv: ["https://litexiv.465321.best", "https://litexiv.bloat.cat"],
919+
pixivViewer: ["https://pixiv.pictures"],
918920
vixipy: ["https://vx.maid.zone"],
919921
indestructables: ["https://indestructables.private.coffee"],
920922
destructables: ["https://ds.vern.cc"],

src/config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,11 @@
482482
"name": "Vixipy",
483483
"instanceList": true,
484484
"url": "https://codeberg.org/vixipy/Vixipy"
485+
},
486+
"pixivViewer": {
487+
"name": "Pixiv Viewer",
488+
"instanceList": true,
489+
"url": "https://github.com/asadahimeka/pixiv-viewer"
485490
}
486491
},
487492
"targets": [

0 commit comments

Comments
 (0)