Skip to content

Commit

Permalink
Fix image regex and allow jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
LucWollants committed Oct 17, 2024
1 parent 31699c9 commit 39f52a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/uitdatabank/models/common-string-uri-image.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "uri",
"type": "string",
"format": "uri",
"pattern": "^http(s?):([/|.|\\w|\\s|-])*\\.(?:jpeg|jpeg|gif|png)$",
"pattern": "^http(s?):([/|.|\\w|\\s|-])*\\.(?:jpeg|jpg|gif|png)$",
"examples": [
"https://www.example.com/sample.jpeg"
],
Expand Down

0 comments on commit 39f52a8

Please sign in to comment.