fix(preview): restore truncated HTML closing tags

The _patch.cjs script accidentally stripped </script></body></html>
when replacing the WebSocket section, causing the inline JavaScript
to never terminate — the browser parsed everything as script content
and all functions were undefined.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
KenanZhuandClaude Opus 4.8 committed 2026-06-04 14:29:00 +08:00
1 parent fa6c7032dd
commit 39af7f7729
1 file changed
+3 -1
+3 -1
View File
@@ -358,4 +358,6 @@ showMessage('Gmail / Outlook simulation is approximate. For accurate rendering w
showMessage('Dev server connection failed', 'error'); showMessage('Dev server connection failed', 'error');
}; };
})(); })();
</script>
</body>
</html>