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.json98
1 files changed, 49 insertions, 49 deletions
diff --git a/src/SMAPI.Web/appsettings.json b/src/SMAPI.Web/appsettings.json
index e97b2339..9e15aa97 100644
--- a/src/SMAPI.Web/appsettings.json
+++ b/src/SMAPI.Web/appsettings.json
@@ -7,54 +7,54 @@
*/
{
- "Logging": {
- "IncludeScopes": false,
- "LogLevel": {
- "Default": "Warning"
+ "Logging": {
+ "IncludeScopes": false,
+ "LogLevel": {
+ "Default": "Warning"
+ }
+ },
+
+ "Site": {
+ "RootUrl": null, // see top note
+ "ModListUrl": null, // see top note
+ "LogParserUrl": null, // see top note
+ "BetaEnabled": null, // see top note
+ "BetaBlurb": null // see top note
+ },
+
+ "ApiClients": {
+ "UserAgent": "SMAPI/{0} (+https://smapi.io)",
+
+ "ChucklefishBaseUrl": "https://community.playstarbound.com",
+ "ChucklefishModPageUrlFormat": "resources/{0}",
+
+ "GitHubBaseUrl": "https://api.github.com",
+ "GitHubStableReleaseUrlFormat": "repos/{0}/releases/latest",
+ "GitHubAnyReleaseUrlFormat": "repos/{0}/releases?per_page=2", // allow for draft release (only visible if GitHub repo is owned by same account as the update check credentials)
+ "GitHubAcceptHeader": "application/vnd.github.v3+json",
+ "GitHubUsername": null, // see top note
+ "GitHubPassword": null, // see top note
+
+ "ModDropApiUrl": "https://www.moddrop.com/api/mods/data",
+ "ModDropModPageUrl": "https://www.moddrop.com/sdv/mod/{0}",
+
+ "NexusBaseUrl": "https://www.nexusmods.com/stardewvalley/",
+ "NexusModUrlFormat": "mods/{0}",
+ "NexusModScrapeUrlFormat": "mods/{0}?tab=files",
+
+ "PastebinBaseUrl": "https://pastebin.com/",
+ "PastebinUserKey": null, // see top note
+ "PastebinDevKey": null // see top note
+ },
+
+ "ModCompatibilityList": {
+ "CacheMinutes": 10
+ },
+
+ "ModUpdateCheck": {
+ "SuccessCacheMinutes": 60,
+ "ErrorCacheMinutes": 5,
+ "SemanticVersionRegex": "^(?>(?<major>0|[1-9]\\d*))\\.(?>(?<minor>0|[1-9]\\d*))(?>(?:\\.(?<patch>0|[1-9]\\d*))?)(?:-(?<prerelease>(?>[a-z0-9]+[\\-\\.]?)+))?$",
+ "CompatibilityPageUrl": "https://mods.smapi.io"
}
- },
-
- "Site": {
- "RootUrl": null, // see top note
- "ModListUrl": null, // see top note
- "LogParserUrl": null, // see top note
- "BetaEnabled": null, // see top note
- "BetaBlurb": null // see top note
- },
-
- "ApiClients": {
- "UserAgent": "SMAPI/{0} (+https://smapi.io)",
-
- "ChucklefishBaseUrl": "https://community.playstarbound.com",
- "ChucklefishModPageUrlFormat": "resources/{0}",
-
- "GitHubBaseUrl": "https://api.github.com",
- "GitHubStableReleaseUrlFormat": "repos/{0}/releases/latest",
- "GitHubAnyReleaseUrlFormat": "repos/{0}/releases?per_page=2", // allow for draft release (only visible if GitHub repo is owned by same account as the update check credentials)
- "GitHubAcceptHeader": "application/vnd.github.v3+json",
- "GitHubUsername": null, // see top note
- "GitHubPassword": null, // see top note
-
- "ModDropApiUrl": "https://www.moddrop.com/api/mods/data",
- "ModDropModPageUrl": "https://www.moddrop.com/sdv/mod/{0}",
-
- "NexusBaseUrl": "https://www.nexusmods.com/stardewvalley/",
- "NexusModUrlFormat": "mods/{0}",
- "NexusModScrapeUrlFormat": "mods/{0}?tab=files",
-
- "PastebinBaseUrl": "https://pastebin.com/",
- "PastebinUserKey": null, // see top note
- "PastebinDevKey": null // see top note
- },
-
- "ModCompatibilityList": {
- "WikiCacheMinutes": 10
- },
-
- "ModUpdateCheck": {
- "SuccessCacheMinutes": 60,
- "ErrorCacheMinutes": 5,
- "SemanticVersionRegex": "^(?>(?<major>0|[1-9]\\d*))\\.(?>(?<minor>0|[1-9]\\d*))(?>(?:\\.(?<patch>0|[1-9]\\d*))?)(?:-(?<prerelease>(?>[a-z0-9]+[\\-\\.]?)+))?$",
- "CompatibilityPageUrl": "https://mods.smapi.io"
- }
}