summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/appsettings.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/appsettings.json')
-rw-r--r--src/SMAPI.Web/appsettings.json19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/SMAPI.Web/appsettings.json b/src/SMAPI.Web/appsettings.json
index eb6ecc9b..4f70b41b 100644
--- a/src/SMAPI.Web/appsettings.json
+++ b/src/SMAPI.Web/appsettings.json
@@ -13,28 +13,31 @@
"Default": "Warning"
}
},
- "ModUpdateCheck": {
- "CacheMinutes": 60,
- "SemanticVersionRegex": "^(?>(?<major>0|[1-9]\\d*))\\.(?>(?<minor>0|[1-9]\\d*))(?>(?:\\.(?<patch>0|[1-9]\\d*))?)(?:-(?<prerelease>(?>[a-z0-9]+[\\-\\.]?)+))?$",
+ "ApiClients": {
+ "UserAgent": "SMAPI/{0} (+https://github.com/Pathoschild/SMAPI)",
- "ChucklefishKey": "Chucklefish",
- "ChucklefishUserAgent": "SMAPI/{0} (+https://github.com/Pathoschild/SMAPI)",
"ChucklefishBaseUrl": "https://community.playstarbound.com",
"ChucklefishModPageUrlFormat": "resources/{0}",
- "GitHubKey": "GitHub",
- "GitHubUserAgent": "SMAPI/{0} (+https://github.com/Pathoschild/SMAPI)",
"GitHubBaseUrl": "https://api.github.com",
"GitHubReleaseUrlFormat": "repos/{0}/releases/latest",
"GitHubAcceptHeader": "application/vnd.github.v3+json",
"GitHubUsername": null, // see top note
"GitHubPassword": null, // see top note
- "NexusKey": "Nexus",
"NexusUserAgent": "Nexus Client v0.63.15",
"NexusBaseUrl": "http://www.nexusmods.com/stardewvalley",
"NexusModUrlFormat": "mods/{0}"
},
+
+ "ModUpdateCheck": {
+ "CacheMinutes": 60,
+ "SemanticVersionRegex": "^(?>(?<major>0|[1-9]\\d*))\\.(?>(?<minor>0|[1-9]\\d*))(?>(?:\\.(?<patch>0|[1-9]\\d*))?)(?:-(?<prerelease>(?>[a-z0-9]+[\\-\\.]?)+))?$",
+
+ "ChucklefishKey": "Chucklefish",
+ "GitHubKey": "GitHub",
+ "NexusKey": "Nexus"
+ },
"LogParser": {
"SectionUrl": null, // see top note
"PastebinBaseUrl": "https://pastebin.com/",