mirror of
https://github.com/mmahdium/HoolIt.git
synced 2026-09-28 01:41:42 +03:30
Add bind URL
This commit is contained in:
+2
-1
@@ -12,12 +12,13 @@ builder.Services.ConfigureHttpJsonOptions(options =>
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
app.Urls.Clear();
|
||||
app.Urls.Add("http://0.0.0.0:5030");
|
||||
|
||||
var subscribers = new ConcurrentDictionary<string, List<StreamWriter>>();
|
||||
var cancellationSources =
|
||||
new ConcurrentDictionary<string, CancellationTokenSource>(); // To manage cancellation per feedId
|
||||
|
||||
|
||||
app.MapGet("/", () => Results.Redirect("https://github.com/mmahdium/HoolIt"));
|
||||
|
||||
// HAPI!
|
||||
|
||||
Reference in New Issue
Block a user