summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/appsettings.json
blob: b1d39a6f2d8a342972896f78f3f493e66ec1a6f7 (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
70
71
72
73
74
75
76
77
78
79
80
81
/*


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

    "Storage": {
        "Mode": "InMemory",
        "ConnectionString": null,
        "Database": "smapi"
    },

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

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

    "ModUpdateCheck": {
        "SuccessCacheMinutes": 60,
        "ErrorCacheMinutes": 5,
        "ModOverrides": [
            {
                "ID": "Pathoschild.SMAPI",
                "AllowNonStandardVersions": true,
                "SetUrl": "https://smapi.io"
            },
            {
                "ID": "MartyrPher.SMAPI-Android-Installer",
                "AllowNonStandardVersions": true
            }
        ]
    }
}