2021-09-27 12:42:46 +00:00
|
|
|
using System;
|
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
namespace Wabbajack.Networking.WabbajackClientApi;
|
|
|
|
|
|
|
|
public class Configuration
|
2021-09-27 12:42:46 +00:00
|
|
|
{
|
2021-12-18 16:14:39 +00:00
|
|
|
public Uri MirrorServerUrl { get; set; } = new ("https://mirror.wabbajack.org");
|
2021-10-23 16:51:17 +00:00
|
|
|
public Uri ServerUri { get; set; } = new("https://build.wabbajack.org");
|
|
|
|
public string MetricsKey { get; set; }
|
|
|
|
public string MetricsKeyHeader { get; set; } = "x-metrics-key";
|
2021-12-17 14:20:40 +00:00
|
|
|
public string AuthorKeyHeader { get; set; } = "x-api-key";
|
|
|
|
|
2021-12-18 00:14:45 +00:00
|
|
|
public string ResponseShaHeader { get; set; } = "x-content-sha";
|
2021-12-17 14:20:40 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
|
|
|
|
public Uri ServerAllowList { get; set; } =
|
|
|
|
new("https://raw.githubusercontent.com/wabbajack-tools/opt-out-lists/master/ServerWhitelist.yml");
|
|
|
|
|
|
|
|
public Uri MirrorAllowList { get; set; } =
|
|
|
|
new("https://raw.githubusercontent.com/wabbajack-tools/allow-lists/main/allowed-mirrors.yaml");
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-10-23 16:51:17 +00:00
|
|
|
public Uri UpgradedArchives { get; set; } =
|
|
|
|
new("https://raw.githubusercontent.com/wabbajack-tools/mod-lists/master/reports/upgraded.json");
|
2021-09-27 12:42:46 +00:00
|
|
|
|
2021-12-18 00:14:45 +00:00
|
|
|
public Uri BuildServerUrl { get; set; } = new("https://build.wabbajack.org/");
|
|
|
|
//public Uri BuildServerUrl { get; set; } = new("http://localhost:5000/");
|
2021-10-23 16:51:17 +00:00
|
|
|
public string PatchBaseAddress { get; set; } = new("https://patches.wabbajack.org/");
|
2021-09-27 12:42:46 +00:00
|
|
|
}
|