Skip to content

Commit

Permalink
fix: externalLink pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
matstyler committed Aug 22, 2024
1 parent f1fecb7 commit 45eb00f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.idea
/node_modules
/node_modules
/dist
3 changes: 2 additions & 1 deletion src/schema/spectraTokens.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"type": "string"
},
"externalLink": {
"type": "string"
"type": "string",
"pattern": "https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)"
},
"faucetAddress": {
"type": "string",
Expand Down

0 comments on commit 45eb00f

Please sign in to comment.