Skip to content

Commit b2a3531

Browse files
authored
Merge branch 'main' into circleci-project-setup
2 parents c4218ea + 364eefa commit b2a3531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/src/utils/isDataUri.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
* @see {@link https://www.rfc-editor.org/rfc/rfc2397}
44
*/
55
export default function isDataURI(uri: string): boolean {
6-
return /data:(image\/(?:\w|-)+)(;?\w+=[\w-]+)*(;base64)?,.*/gu.test(uri)
6+
return /data:(image\/(?:\w|-)+)(;?\w+=\w+)*(;base64)?,.*/gu.test(uri)
77
}

0 commit comments

Comments
 (0)