1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
/*
This contains the default settings for the web app. Login credentials and contextual settings are
configured via appsettings.Development.json locally, or environment properties in AWS.
*/
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning",
"Hangfire": "Information"
}
},
"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
},
"MongoDB": {
"Host": null, // see top note
"Username": null, // see top note
"Password": null, // see top note
"Database": null // see top note
},
"ModCompatibilityList": {
"StaleMinutes": 15
},
"BackgroundServices": {
"Enabled": true
},
"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"
}
}
|