Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed Jan 27, 2025
1 parent 5465f87 commit 181b251
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/assets/javascripts/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down Expand Up @@ -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"],
Expand Down
5 changes: 5 additions & 0 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 181b251

Please sign in to comment.