Skip to content

Commit eee9b67

Browse files
committed
fix regex pattern
1 parent 2cd50ea commit eee9b67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/livecodes/services/modules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const TEMPLATES: Array<[RegExp, string]> = [
122122

123123
[/^(pr:)(.+)/i, 'https://esm.sh/pr/$2'],
124124

125-
[/^(pkg.pr.new:)(.+)/i, 'https://esm.sh/pkg.pr.new/$2'],
125+
[/^(pkg\.pr\.new:)(.+)/i, 'https://esm.sh/pkg.pr.new/$2'],
126126

127127
[/^(skypack:)(.+)/i, 'https://cdn.skypack.dev/$2'],
128128

0 commit comments

Comments
 (0)