about summary refs log tree commit diff
path: root/MatrixRoomUtils.DebugDataValidationApi/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.DebugDataValidationApi/Program.cs')
-rw-r--r--MatrixRoomUtils.DebugDataValidationApi/Program.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/MatrixRoomUtils.DebugDataValidationApi/Program.cs b/MatrixRoomUtils.DebugDataValidationApi/Program.cs
deleted file mode 100644
index 047dbcf..0000000
--- a/MatrixRoomUtils.DebugDataValidationApi/Program.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-var builder = WebApplication.CreateBuilder(args);
-
-// Add services to the container.
-
-builder.Services.AddControllers();
-// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
-builder.Services.AddEndpointsApiExplorer();
-builder.Services.AddSwaggerGen();
-builder.Services.AddCors(options =>
-{
-    options.AddPolicy(
-        "Open",
-        builder => builder.AllowAnyOrigin().AllowAnyHeader());
-});
-
-var app = builder.Build();
-
-// Configure the HTTP request pipeline.
-if (app.Environment.IsDevelopment()) {
-    app.UseSwagger();
-    app.UseSwaggerUI();
-}
-
-// app.UseHttpsRedirection();
-
-app.UseCors("Open");
-
-app.UseAuthorization();
-
-app.MapControllers();
-
-app.Run();