You've already forked AstralRinth
forked from didirus/AstralRinth
Fix the remove on the Discord theme because of the way the new remove… (#1127)
This commit is contained in:
@@ -35,7 +35,7 @@ export const configuredXss = new xss.FilterXSS({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
regex: /^https?:\/\/(www\.)?discord\.com\/widget\?id=\d{18,19}(&theme=\w+)?$/,
|
regex: /^https?:\/\/(www\.)?discord\.com\/widget\?id=\d{18,19}(&theme=\w+)?$/,
|
||||||
remove: [/&theme=\w+/],
|
remove: [/theme=\w+/],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user