Skip to content

Commit 2609b5b

Browse files
committed
1 parent b4575df commit 2609b5b

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
@@ -410,6 +410,7 @@ function rewrite(url, frontend, randomInstance) {
410410
}
411411
return `${randomInstance}${url.pathname}${url.search}`
412412
}
413+
case "liteXiv":
413414
case "pixivFe": {
414415
const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname)
415416
if (regex) {
@@ -827,6 +828,7 @@ const defaultInstances = {
827828
laboratory: ["https://lab.vern.cc"],
828829
binternet: ["https://bn.bloat.cat"],
829830
pixivFe: ["https://pixivfe.exozy.me"],
831+
liteXiv: ["https://litexiv.exozy.me"],
830832
indestructables: ["https://indestructables.private.coffee"],
831833
destructables: ["https://ds.vern.cc"],
832834
safetwitch: ["https://safetwitch.drgns.space"],

src/config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,11 @@
441441
"name": "PixivFE",
442442
"instanceList": true,
443443
"url": "https://codeberg.org/VnPower/pixivfe"
444+
},
445+
"liteXiv": {
446+
"name": "LiteXiv",
447+
"instanceList": true,
448+
"url": "https://codeberg.org/Peaksol/LiteXiv"
444449
}
445450
},
446451
"targets": [

0 commit comments

Comments
 (0)