Revert "Fix the remove on the Discord theme because of the way the new remove… (#1127)"

This reverts commit e99b0f8052aa53c0627a86c948fe0c3ac2e7bfa6.
This commit is contained in:
Emma Triphora 2023-05-06 14:56:14 -04:00
parent e99b0f8052
commit 9971201004
No known key found for this signature in database
GPG Key ID: 665FFBF8458769F4

View File

@ -35,7 +35,7 @@ export const configuredXss = new xss.FilterXSS({
},
{
regex: /^https?:\/\/(www\.)?discord\.com\/widget\?id=\d{18,19}(&theme=\w+)?$/,
remove: [/theme=\w+/],
remove: [/&theme=\w+/],
},
]