🎉 Initial commit for DysonNetwork.Gateway
This commit is contained in:
15
DysonNetwork.Gateway/Program.cs
Normal file
15
DysonNetwork.Gateway/Program.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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();
|
Reference in New Issue
Block a user