about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-28 13:34:26 +0100
committerHygna <hygna@proton.me>2022-10-28 13:34:26 +0100
commit70301fc8b5a3b166796ddd4b2ebfac6ba8ff6168 (patch)
treecb396d1ebf165184f5fe498e7fb8a246abe06f04 /src/config
parentSwitched bullseye image (diff)
downloadlibredirect-70301fc8b5a3b166796ddd4b2ebfac6ba8ff6168.zip
Added PrivateBin
https://github.com/libredirect/libredirect/issues/374
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/config/config.json b/src/config/config.json
index ac384ce2..35ce8bf8 100644
--- a/src/config/config.json
+++ b/src/config/config.json
@@ -601,6 +601,22 @@
 			"imageType": "svgMono",
 			"embeddable": false,
 			"url": "https://send.libredirect.invalid"
+		},
+		"textStorage": {
+			"frontends": {
+				"privateBin": {
+					"name": "PrivateBin",
+					"instanceList": true
+				}
+			},
+			"targets": ["^https?:\\/{2}paste\\.libredirect\\.invalid"],
+			"name": "Paste Text",
+			"options": {
+				"enabled": true
+			},
+			"imageType": "svgMono",
+			"embeddable": false,
+			"url": "https://paste.libredirect.invalid"
 		}
 	},
 	"blacklist": {