summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/appsettings.json
blob: 9758f4a709c6c74a883390839a93c2301ffe9589 (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
49
/*


  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"
    }
  },
  "Context": {
    "RootUrl": null, // see top note 
    "LogParserUrl": null // see top note
  },
  "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}",

    "PastebinBaseUrl": "https://pastebin.com/",
    "PastebinUserKey": null, // see top note
    "PastebinDevKey": null // see top note
  },

  "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"
  }
}