mirror of
				https://github.com/mmahdium/HoolIt.git
				synced 2025-11-04 02:48:12 +01:00 
			
		
		
		
	Add bind URL
This commit is contained in:
		@@ -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