chore(consumers.json): Im Projektverzeichnis erstellt und zur Konfiguration hinzugefügt.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
var config = builder.Configuration;
|
||||
|
||||
builder.Configuration.AddJsonFile("consumers.json", true, true);
|
||||
|
||||
// Add services to the container.
|
||||
|
||||
builder.Services.AddControllers();
|
||||
@@ -22,4 +26,4 @@ app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
app.Run();
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user