Medusa.net/Medusa.Web/Server/Program.cs

17 lines
279 B
C#
Raw Normal View History

var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
var app = builder.Build();
app.UseDefaultFiles();
app.UseStaticFiles();
// Configure the HTTP request pipeline.
app.UseHttpsRedirection();
app.MapFallbackToFile("/index.html");
app.Run();