All is in .env
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"PostgreSQL": "User ID=maxime;Password=S?$9<Sp5JTX4-aC4=8J*;Host=localhost;Port=15432;Database=GiecChallenge;"
|
||||
"PostgreSQL": "${ConnectionStrings__PostgreSQL}"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
@@ -9,11 +9,11 @@
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"OriginAllowed": "http://localhost:3000",
|
||||
"PasswordHash" : "U^CbUUV,$MMU]2lD$MFZ5;Bui#)XTS",
|
||||
"OriginAllowed": "${OriginAllowed}",
|
||||
"PasswordHash": "${PasswordHash}",
|
||||
"JWT": {
|
||||
"ValidAudience": "http://localhost:7021",
|
||||
"ValidIssuer": "http://localhost:7021",
|
||||
"Secret": "eAD+PhDIZ2(d2/<|,yvA/8'Z;[Wl|Z"
|
||||
"ValidAudience": "${JWT__ValidAudience}",
|
||||
"ValidIssuer": "${JWT__ValidIssuer}",
|
||||
"Secret": "${JWT__Secret}"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"PostgreSQL": ""
|
||||
"PostgreSQL": "${ConnectionStrings__PostgreSQL}"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
@@ -8,12 +8,12 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "",
|
||||
"OriginAllowed": "",
|
||||
"PasswordHash" : "",
|
||||
"AllowedHosts": "*",
|
||||
"OriginAllowed": "${OriginAllowed}",
|
||||
"PasswordHash": "${PasswordHash}",
|
||||
"JWT": {
|
||||
"ValidAudience": "",
|
||||
"ValidIssuer": "",
|
||||
"Secret": ""
|
||||
"ValidAudience": "${JWT__ValidAudience}",
|
||||
"ValidIssuer": "${JWT__ValidIssuer}",
|
||||
"Secret": "${JWT__Secret}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user