summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/appsettings.json
blob: 4f70b41b0d7b55ec8889e9a2f283237ecc57d17a (plain)
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
/*


  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"
    }
  },
  "ApiClients": {
    "UserAgent": "SMAPI/{0} (+https://github.com/Pathoschild/SMAPI)",

    "ChucklefishBaseUrl": "https://community.playstarbound.com",
    "ChucklefishModPageUrlFormat": "resources/{0}",

    "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

    "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/",
    "PastebinUserAgent": "SMAPI/{0} (+https://github.com/Pathoschild/SMAPI)",
    "PastebinUserKey": null, // see top note
    "PastebinDevKey": null // see top note
  }
}