We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80242d7 commit 06f31c2Copy full SHA for 06f31c2
src/manager/webview.ts
@@ -28,7 +28,7 @@ function getCSS() {
28
}
29
30
export function fixSha256(html: string) {
31
- const [,scriptString] = html.match(/<script async type="module">([\s\S]*?)<\/script>/) || []
+ const [, scriptString] = html.match(/<script async=?"{0,2} type="module">([\s\S]*?)<\/script>/) || []
32
if (!scriptString) {
33
return html
34
0 commit comments