Skip to content

Commit 181b251

Browse files
committed
1 parent 5465f87 commit 181b251

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
@@ -100,6 +100,7 @@ function rewrite(url, originUrl, frontend, randomInstance, type) {
100100
if (/\/@[a-z]+\//.exec(url.pathname)) return randomInstance
101101
return `${randomInstance}${url.pathname}${url.search}`
102102
}
103+
case "small":
103104
case "libMedium":
104105
case "scribe": {
105106
const regex = url.hostname.match(/^(link|cdn-images-\d+|.*)\.medium\.com/)
@@ -869,6 +870,7 @@ const defaultInstances = {
869870
troddit: ["https://www.troddit.com"],
870871
scribe: ["https://scribe.rip"],
871872
libMedium: ["https://md.vern.cc"],
873+
small: ["https://small.bloat.cat"],
872874
quetre: ["https://quetre.iket.me"],
873875
libremdb: ["https://libremdb.iket.me"],
874876
simplyTranslate: ["https://simplytranslate.org"],

src/config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,11 @@
683683
"name": "LibMedium",
684684
"instanceList": true,
685685
"url": "https://github.com/realaravinth/libmedium"
686+
},
687+
"small": {
688+
"name": "Small",
689+
"instanceList": true,
690+
"url": "https://git.private.coffee/PrivateCoffee/small"
686691
}
687692
},
688693
"targets": [

0 commit comments

Comments
 (0)