Skip to content

Commit ad3c130

Browse files
#1019: Fix live-server injects code to SVGs
1 parent 7050836 commit ad3c130

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/live-server/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ function staticServer(root) {
5050
const hasNoOrigin = !req.headers.origin;
5151
const injectCandidates = [
5252
new RegExp('</body>', 'i'),
53-
new RegExp('</svg>', 'g'),
5453
new RegExp('</head>', 'i'),
5554
];
5655

0 commit comments

Comments
 (0)