ManeraKai 2024-08-19 12:24:26 +03:00
parent b4575df159
commit 2609b5b466
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
2 changed files with 7 additions and 0 deletions

View File

@ -410,6 +410,7 @@ function rewrite(url, frontend, randomInstance) {
} }
return `${randomInstance}${url.pathname}${url.search}` return `${randomInstance}${url.pathname}${url.search}`
} }
case "liteXiv":
case "pixivFe": { case "pixivFe": {
const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname) const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname)
if (regex) { if (regex) {
@ -827,6 +828,7 @@ const defaultInstances = {
laboratory: ["https://lab.vern.cc"], laboratory: ["https://lab.vern.cc"],
binternet: ["https://bn.bloat.cat"], binternet: ["https://bn.bloat.cat"],
pixivFe: ["https://pixivfe.exozy.me"], pixivFe: ["https://pixivfe.exozy.me"],
liteXiv: ["https://litexiv.exozy.me"],
indestructables: ["https://indestructables.private.coffee"], indestructables: ["https://indestructables.private.coffee"],
destructables: ["https://ds.vern.cc"], destructables: ["https://ds.vern.cc"],
safetwitch: ["https://safetwitch.drgns.space"], safetwitch: ["https://safetwitch.drgns.space"],

View File

@ -441,6 +441,11 @@
"name": "PixivFE", "name": "PixivFE",
"instanceList": true, "instanceList": true,
"url": "https://codeberg.org/VnPower/pixivfe" "url": "https://codeberg.org/VnPower/pixivfe"
},
"liteXiv": {
"name": "LiteXiv",
"instanceList": true,
"url": "https://codeberg.org/Peaksol/LiteXiv"
} }
}, },
"targets": [ "targets": [