add EnvConfig.cs + update DependencyInjectionExtensions.cs #12
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/env-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -52,3 +53,2 @@{var websiteUrl = Environment.GetEnvironmentVariable("WEBSITE_URL") ??throw new InvalidOperationException("WEBSITE_URL is not set");//var websiteUrl = Environment.GetEnvironmentVariable("WEBSITE_URL") ??Tu peux supprimer les code en commentaire, il ne servira plus jamais
@ -68,3 +69,2 @@{var jwtSecret = Environment.GetEnvironmentVariable("JWT_SECRET") ??throw new InvalidOperationException("JWT_SECRET is not set");// var jwtSecret = Environment.GetEnvironmentVariable("JWT_SECRET") ??same
@ -100,3 +101,2 @@{var connectionString = Environment.GetEnvironmentVariable("DATABASE_CONNECTION_STRING") ??throw new InvalidOperationException("DATABASE_CONNECTION_STRING is not set");//var connectionString = Environment.GetEnvironmentVariable("DATABASE_CONNECTION_STRING") ??same