Skip to content

Commit 719932f

Browse files
authored
Merge pull request #1235 from pattern-lab/fix-1019
Fix live-server injects code to SVGs
2 parents 9c4c821 + 2a01972 commit 719932f

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)