summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/appsettings.json
blob: caeb381ffdfe92724efeae37f3541a5fbb47a519 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*


  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": {
        "BetaEnabled": false,
        "BetaBlurb": null,
        "SupporterList": null
    },

    "ApiClients": {
        "UserAgent": "SMAPI/{0} (+https://smapi.io)",

        "AzureBlobConnectionString": null,
        "AzureBlobTempContainer": "smapi-web-temp",
        "AzureBlobTempExpiryDays": 30,

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

        "CurseForgeBaseUrl": "https://addons-ecs.forgesvc.net/api/v2/",

        "GitHubBaseUrl": "https://api.github.com",
        "GitHubAcceptHeader": "application/vnd.github.v3+json",
        "GitHubUsername": null,
        "GitHubPassword": null,

        "ModDropApiUrl": "https://www.moddrop.com/api/mods/data",
        "ModDropModPageUrl": "https://www.moddrop.com/sdv/mod/{0}",

        "NexusApiKey": null,
        "NexusBaseUrl": "https://www.nexusmods.com/stardewvalley/",
        "NexusModUrlFormat": "mods/{0}",
        "NexusModScrapeUrlFormat": "mods/{0}?tab=files",

        "PastebinBaseUrl": "https://pastebin.com/"
    },

    "MongoDB": {
        "ConnectionString": null,
        "Database": "smapi"
    },

    "ModCompatibilityList": {
        "StaleMinutes": 15
    },

    "BackgroundServices": {
        "Enabled": true
    },

    "ModUpdateCheck": {
        "SuccessCacheMinutes": 60,
        "ErrorCacheMinutes": 5
    }
}