diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-15 21:18:15 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-01-15 21:18:15 -0500 |
commit | a5ba931770cf70b071c00f19dbccb594fb245e06 (patch) | |
tree | 5ec2f96c328f7b77d1b7d028157e30ec1b2a61ab /src/SMAPI.Web/wwwroot | |
parent | 1b52adb4fb6bcbe95f562e51ce914534ca1e64e8 (diff) | |
download | SMAPI-a5ba931770cf70b071c00f19dbccb594fb245e06.tar.gz SMAPI-a5ba931770cf70b071c00f19dbccb594fb245e06.tar.bz2 SMAPI-a5ba931770cf70b071c00f19dbccb594fb245e06.zip |
improve JSON validator schema for manifest update keys
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r-- | src/SMAPI.Web/wwwroot/schemas/manifest.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/wwwroot/schemas/manifest.json b/src/SMAPI.Web/wwwroot/schemas/manifest.json index 685b515b..0b265201 100644 --- a/src/SMAPI.Web/wwwroot/schemas/manifest.json +++ b/src/SMAPI.Web/wwwroot/schemas/manifest.json @@ -99,7 +99,7 @@ "type": "array", "items": { "type": "string", - "pattern": "^(Chucklefish:\\d+|Nexus:\\d+|GitHub:[A-Za-z0-9_]+/[A-Za-z0-9_]+|ModDrop:\\d+)$", + "pattern": "^(?i)(Chucklefish:\\d+|Nexus:\\d+|GitHub:[A-Za-z0-9_\\-]+/[A-Za-z0-9_\\-]+|ModDrop:\\d+)$", "@errorMessages": { "pattern": "Invalid update key; see https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Manifest#Update_checks for more info." } |