fix(experiments): Patch canUseOverrides variable (#11)
This commit is contained in:
parent
204ce6758a
commit
b6d2f50dfc
1 changed files with 6 additions and 0 deletions
|
@ -10,5 +10,11 @@ export default definePlugin({
|
||||||
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
|
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
find: "canUseOverrides",
|
||||||
|
replacement: {
|
||||||
|
match: /(\w)\|\|"CONNECTION_OPEN".+?;/g,
|
||||||
|
replace: "$1=!0;"
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue