aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-05 19:27:27 +0100
committerHygna <hygna@proton.me>2022-10-05 19:27:27 +0100
commitbeaaeb1d309555531a22e350b73ff014cccd1e16 (patch)
tree16b9974dff7afb1382224b7cdb384d1d5ceec6ec /src/config
parentAdded search redirections from Fandom to BreezeWiki (diff)
downloadlibredirect-beaaeb1d309555531a22e350b73ff014cccd1e16.zip
Added support for i.stack.imgur.com and rimgo embeds
Closes https://codeberg.org/LibRedirect/libredirect/issues/18
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.json10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/config/config.json b/src/config/config.json
index 61195830..97168263 100644
--- a/src/config/config.json
+++ b/src/config/config.json
@@ -254,14 +254,18 @@
"frontends": {
"rimgo": {
"name": "rimgo",
+ "embeddable": true,
"instanceList": true
}
},
- "targets": ["^https?:\\/{2}([im]\\.)?imgur\\.(com|io)(\\/|$)"],
+ "targets": ["^https?:\\/{2}([im]\\.)?(stack\\.)?imgur\\.(com|io)(\\/|$)"],
"name": "Imgur",
- "options": { "enabled": true },
+ "options": {
+ "enabled": true,
+ "redirectType": "both"
+ },
"imageType": "png",
- "embeddable": false,
+ "embeddable": true,
"url": "https://imgur.com"
},
"wikipedia": {