add EnvConfig.cs + update DependencyInjectionExtensions.cs #12

Merged
eliott merged 2 commits from feat/env-config into develop 2026-03-17 19:52:02 +01:00
Member
No description provided.
Romane self-assigned this 2026-03-17 19:42:25 +01:00
Romane requested review from eliott 2026-03-17 19:42:36 +01:00
eliott requested changes 2026-03-17 19:44:19 +01:00
Dismissed
@ -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

Tu peux supprimer les code en commentaire, il ne servira plus jamais
eliott marked this conversation as resolved
@ -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

same
eliott marked this conversation as resolved
@ -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

same
eliott marked this conversation as resolved
eliott approved these changes 2026-03-17 19:51:48 +01:00
eliott merged commit 605581356b into develop 2026-03-17 19:52:02 +01:00
eliott deleted branch feat/env-config 2026-03-17 19:52:02 +01:00
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cda-solutions/resources-relationnelles-api!12
No description provided.