Skip to content

Commit

Permalink
Add gabystation
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Dec 15, 2024
1 parent 03e865a commit 8c84259
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public override async Task RetrieveFilesRecursive(string directoryUrl, Cancellat

if (href.EndsWith("/", StringComparison.Ordinal))
{
await Task.Delay(TimeSpan.FromMilliseconds(10), token); // Prevents spamming the server
await RetrieveFilesRecursive(href, token);
}

Expand Down
9 changes: 9 additions & 0 deletions ReplayBrowser/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
},
"AllowedHosts": "*",
"ReplayUrls": [
{
"url": "https://replay.tucanostation.com/replays/",
"provider": "nginx",
"fallBackServerName": "gabystation",
"fallBackServerId": "gabystation",
"replayRegex": "(\\d{4}_\\d{2}_\\d{2}-\\d{2}_\\d{2})-round_\\d+\\.zip",
"serverNameRegex": ""
},

{
"url": "https://replays.funkystation.org/lrp1/",
"provider": "nginx",
Expand Down

0 comments on commit 8c84259

Please sign in to comment.