Skip to content

Commit

Permalink
fix: custom endpoint validation and defaultg
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu committed Apr 29, 2024
1 parent b866d3c commit abc45f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@
"snyk.advanced.customEndpoint": {
"type": "string",
"markdownDescription": "Sets API endpoint to use for Snyk requests. Useful for custom Snyk setups. E.g. `https://app.eu.snyk.io/api`.",
"scope": "window"
"scope": "window",
"format": "uri",
"pattern": "^(https?://)api.?[a-zA-Z0-9]{0,19}.snyk.io$"
},
"snyk.advanced.organization": {
"type": "string",
Expand Down

0 comments on commit abc45f9

Please sign in to comment.