mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-13 14:44:15 +01:00
add geoip service for file shard matching
This commit is contained in:
parent
c6d3ac1c51
commit
53e96d9318
10 changed files with 162 additions and 10 deletions
|
|
@ -2,11 +2,12 @@
|
|||
|
||||
public class CdnShardConfiguration
|
||||
{
|
||||
public List<string> Continents { get; set; } = new List<string>() { "*" };
|
||||
public string FileMatch { get; set; }
|
||||
public Uri CdnFullUrl { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return CdnFullUrl.ToString() + " == " + FileMatch;
|
||||
return CdnFullUrl.ToString() + "[" + string.Join(',', Continents) + "] == " + FileMatch;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue