Fix settings patch

This commit is contained in:
Vendicated 2022-09-15 18:03:48 +02:00
parent 5b2b91ed0d
commit b1d3f5e52f
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
2 changed files with 6 additions and 7 deletions

View file

@ -16,7 +16,7 @@ export default definePlugin({
}
},
{
match: /\w\.createElement.+?["']Host ["'].+?\):null/,
match: /\w\.createElement.+?["']Host ["'].+?\):null/s,
replace: m => {
const idx = m.indexOf("Host") - 1;
const template = m.slice(0, idx);