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