From a89ab7d1b5559c91460b9643be6a38025fb2fb75 Mon Sep 17 00:00:00 2001 From: StevenNMeza Date: Thu, 24 Feb 2022 19:18:09 +0100 Subject: [PATCH] Show imgur videos --- config.js.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js.template b/config.js.template index 6cafa6e..dc60caa 100644 --- a/config.js.template +++ b/config.js.template @@ -74,7 +74,7 @@ const config = { }, valid_media_domains: process.env.VALID_MEDIA_DOMAINS ? JSON.parse(process.env.VALID_MEDIA_DOMAINS) - : ['preview.redd.it', 'external-preview.redd.it', 'i.redd.it', 'v.redd.it', 'a.thumbs.redditmedia.com', 'b.thumbs.redditmedia.com', 'emoji.redditmedia.com', 'styles.redditmedia.com', 'www.redditstatic.com', 'thumbs.gfycat.com', 'i.ytimg.com'], + : ['preview.redd.it', 'external-preview.redd.it', 'i.redd.it', 'v.redd.it', 'a.thumbs.redditmedia.com', 'b.thumbs.redditmedia.com', 'emoji.redditmedia.com', 'styles.redditmedia.com', 'www.redditstatic.com', 'thumbs.gfycat.com', 'i.ytimg.com', 'i.imgur.com'], valid_embed_video_domains: ['gfycat.com', 'youtube.com'], reddit_api_error_text: `Seems like your instance is either blocked (e.g. due to API rate limiting), reddit is currently down, or your API key is expired and not renewd properly. This can also happen for other reasons.` };