diff options
| author | Hygna <hygna@proton.me> | 2022-10-05 19:27:27 +0100 |
|---|---|---|
| committer | Hygna <hygna@proton.me> | 2022-10-05 19:27:27 +0100 |
| commit | beaaeb1d309555531a22e350b73ff014cccd1e16 (patch) | |
| tree | 16b9974dff7afb1382224b7cdb384d1d5ceec6ec /src/config | |
| parent | Added search redirections from Fandom to BreezeWiki (diff) | |
| download | libredirect-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.json | 10 |
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": {
|
