From 19eba9526a29a7951e0651c1e26bc8fa9f628138 Mon Sep 17 00:00:00 2001 From: Magnus Jensen Date: Sat, 6 May 2023 16:25:14 +0200 Subject: [PATCH] add bstats.org as allowed domain name for markdown (#1122) --- helpers/parse.js | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/parse.js b/helpers/parse.js index 288fb8e8..f8dad51b 100644 --- a/helpers/parse.js +++ b/helpers/parse.js @@ -75,6 +75,7 @@ export const configuredXss = new xss.FilterXSS({ 'img.shields.io', 'i.postimg.cc', 'wsrv.nl', + 'bstats.org', ] if (!allowedHostnames.includes(url.hostname)) {