You've already forked AstralRinth
forked from didirus/AstralRinth
add bstats.org as allowed domain name for markdown (#1122)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user