This commit is contained in:
parent
5465f87494
commit
181b2518e2
@ -100,6 +100,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
|
||||
if (/\/@[a-z]+\//.exec(url.pathname)) return randomInstance
|
||||
return `${randomInstance}${url.pathname}${url.search}`
|
||||
}
|
||||
case "small":
|
||||
case "libMedium":
|
||||
case "scribe": {
|
||||
const regex = url.hostname.match(/^(link|cdn-images-\d+|.*)\.medium\.com/)
|
||||
@ -869,6 +870,7 @@ const defaultInstances = {
|
||||
troddit: ["https://www.troddit.com"],
|
||||
scribe: ["https://scribe.rip"],
|
||||
libMedium: ["https://md.vern.cc"],
|
||||
small: ["https://small.bloat.cat"],
|
||||
quetre: ["https://quetre.iket.me"],
|
||||
libremdb: ["https://libremdb.iket.me"],
|
||||
simplyTranslate: ["https://simplytranslate.org"],
|
||||
|
@ -683,6 +683,11 @@
|
||||
"name": "LibMedium",
|
||||
"instanceList": true,
|
||||
"url": "https://github.com/realaravinth/libmedium"
|
||||
},
|
||||
"small": {
|
||||
"name": "Small",
|
||||
"instanceList": true,
|
||||
"url": "https://git.private.coffee/PrivateCoffee/small"
|
||||
}
|
||||
},
|
||||
"targets": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user