about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-05 17:29:27 +0100
committerHygna <hygna@proton.me>2022-10-05 17:29:27 +0100
commita96f3188b7eac79f19f2bd438b13a310d3cea90b (patch)
treef30ed8e2c2c20398caf92009347ce64161fcd77d /src/config
parentAdded LibreTranslate (diff)
downloadlibredirect-a96f3188b7eac79f19f2bd438b13a310d3cea90b.zip
Changes:
Added BreezeWiki as a frontend for Fandom

Closes https://github.com/libredirect/libredirect/issues/444

Futureproofed bug caused by adding new frontend/service
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/config/config.json b/src/config/config.json
index fde17a02..61195830 100644
--- a/src/config/config.json
+++ b/src/config/config.json
@@ -362,6 +362,20 @@
 			"embeddable": false,

 			"url": "https://reuters.com"

 		},

+		"fandom": {

+			"frontends": {

+				"breezeWiki": {

+					"name": "BreezeWiki",

+					"instanceList": true

+				}

+			},

+			"targets": ["^https?:\\/{2}(?:[a-zA-Z0-9]+\\.)?fandom\\.com(?=(?:\\/wiki)|(?:\\/?$))"],

+			"name": "Fandom",

+			"options": { "enabled": true },

+			"imageType": "svg",

+			"embeddable": false,

+			"url": "https://fandom.com"

+		},

 		"peertube": {

 			"frontends": {

 				"simpleertube": {