From ac964e3c1d5742722f894e869acfcd22a522d576 Mon Sep 17 00:00:00 2001 From: drakeerv Date: Tue, 13 Aug 2024 17:07:19 -0400 Subject: [PATCH] Fix pasted redirect --- src/assets/images/pastebin-icon.svg | 2 ++ src/config.json | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 src/assets/images/pastebin-icon.svg diff --git a/src/assets/images/pastebin-icon.svg b/src/assets/images/pastebin-icon.svg new file mode 100644 index 0000000..341fbd8 --- /dev/null +++ b/src/assets/images/pastebin-icon.svg @@ -0,0 +1,2 @@ + +Pastebin icon \ No newline at end of file diff --git a/src/config.json b/src/config.json index 848f2a2..edb9013 100644 --- a/src/config.json +++ b/src/config.json @@ -878,6 +878,28 @@ "imageType": "svgMono", "url": "https://web.archive.org" }, + "pastebin": { + "frontends": { + "pasted": { + "name": "Pasted", + "instanceList": true, + "url": "https://github.com/Dragynfruit/pasted" + } + }, + "targets": [ + "^https?:\\/{2}pastebin\\.com\\/" + ], + "name": "Pastebin", + "options": { + "enabled": false, + "unsupportedUrls": "bypass", + "frontend": "pasted", + "instance": "public" + }, + "imageType": "svg", + "embeddable": true, + "url": "https://pastebin.com" + }, "search": { "frontends": { "searxng": {