mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-10 23:37:05 +00:00
18 lines
545 B
C#
18 lines
545 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Spacebar.Cdn.Services;
|
|
|
|
public class SpacebarCdnWorkerConfiguration {
|
|
public SpacebarCdnWorkerConfiguration(IConfiguration config) {
|
|
config.GetRequiredSection("Spacebar").GetRequiredSection("Cdn").GetRequiredSection("Workers").Bind(this);
|
|
}
|
|
|
|
[JsonProperty("q8")]
|
|
public List<string> Q8Workers { get; set; } = [];
|
|
|
|
[JsonProperty("q16")]
|
|
public List<string> Q16Workers { get; set; } = [];
|
|
|
|
[JsonProperty("q16-hdri")]
|
|
public List<string> Q16HdriWorkers { get; set; } = [];
|
|
} |