From 3a91b6db3cfb42a9af0d620f7f5cfc03e64f5914 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 29 Aug 2023 20:26:04 -0400 Subject: [PATCH] add env check for config --- Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Program.cs b/Program.cs index c009f86..560370f 100644 --- a/Program.cs +++ b/Program.cs @@ -4,6 +4,8 @@ using Microsoft.AspNetCore.Authentication.Cookies; var builder = WebApplication.CreateBuilder(args); +builder.Configuration.AddEnvironmentVariables(); + // Add services to the container. builder.Services.AddControllersWithViews(); builder.Services.AddSignalR();