16 lines
304 B
C#
16 lines
304 B
C#
using DysonNetwork.Gateway.Startup;
|
|
|
|
var builder = WebApplication.CreateBuilder(args);
|
|
|
|
// Add services to the container.
|
|
builder.Services.AddGateway(builder.Configuration);
|
|
builder.Services.AddControllers();
|
|
|
|
var app = builder.Build();
|
|
|
|
// app.UseHttpsRedirection();
|
|
|
|
app.MapReverseProxy();
|
|
|
|
app.Run();
|