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


  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": null,
        "BetaBlurb": null
    },

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

        "AmazonAccessKey": null,
        "AmazonSecretKey": null,
        "AmazonRegion": "us-east-1",
        "AmazonLogBucket": "smapi-log-parser",

        "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/",
        "PastebinUserKey": null,
        "PastebinDevKey": null
    },

    "MongoDB": {
        "Host": null,
        "Username": null,
        "Password": null,
        "Database": null
    },

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

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

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