add env check for config
This commit is contained in:
parent
38287093b4
commit
3a91b6db3c
@ -4,6 +4,8 @@ using Microsoft.AspNetCore.Authentication.Cookies;
|
|||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
builder.Configuration.AddEnvironmentVariables();
|
||||||
|
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
builder.Services.AddControllersWithViews();
|
builder.Services.AddControllersWithViews();
|
||||||
builder.Services.AddSignalR();
|
builder.Services.AddSignalR();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user