aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/assets/javascripts/services.js2
-rw-r--r--src/config.json5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js
index aa381459..c9f391e7 100644
--- a/src/assets/javascripts/services.js
+++ b/src/assets/javascripts/services.js
@@ -410,6 +410,7 @@ function rewrite(url, frontend, randomInstance) {
}
return `${randomInstance}${url.pathname}${url.search}`
}
+ case "liteXiv":
case "pixivFe": {
const regex = /\/[a-z]{1,3}\/(.*)/.exec(url.pathname)
if (regex) {
@@ -827,6 +828,7 @@ const defaultInstances = {
laboratory: ["https://lab.vern.cc"],
binternet: ["https://bn.bloat.cat"],
pixivFe: ["https://pixivfe.exozy.me"],
+ liteXiv: ["https://litexiv.exozy.me"],
indestructables: ["https://indestructables.private.coffee"],
destructables: ["https://ds.vern.cc"],
safetwitch: ["https://safetwitch.drgns.space"],
diff --git a/src/config.json b/src/config.json
index 7a9eaf49..d10adec8 100644
--- a/src/config.json
+++ b/src/config.json
@@ -441,6 +441,11 @@
"name": "PixivFE",
"instanceList": true,
"url": "https://codeberg.org/VnPower/pixivfe"
+ },
+ "liteXiv": {
+ "name": "LiteXiv",
+ "instanceList": true,
+ "url": "https://codeberg.org/Peaksol/LiteXiv"
}
},
"targets": [