.env Datei hinzugefügt
This commit is contained in:
0
Watcher/.env
Normal file
0
Watcher/.env
Normal file
0
Watcher/.env.example
Normal file
0
Watcher/.env.example
Normal file
@@ -16,6 +16,8 @@ builder.Services.AddControllersWithViews();
|
|||||||
builder.Services.AddHttpContextAccessor();
|
builder.Services.AddHttpContextAccessor();
|
||||||
|
|
||||||
// ---------- Konfiguration ----------
|
// ---------- Konfiguration ----------
|
||||||
|
DotNetEnv.Env.Load();
|
||||||
|
|
||||||
builder.Configuration
|
builder.Configuration
|
||||||
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
|
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
|
||||||
.AddEnvironmentVariables();
|
.AddEnvironmentVariables();
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- EF Core Design Tools -->
|
<!-- EF Core Design Tools -->
|
||||||
|
<PackageReference Include="DotNetEnv" Version="3.1.1" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.6" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.6" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.6" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.6" />
|
||||||
|
@@ -17,12 +17,13 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"Authentication": {
|
"Authentication": {
|
||||||
"PocketID": {
|
"UseLocal": true,
|
||||||
"Authority": "https://pocketid.triggermeelmo.com",
|
"PocketID": {
|
||||||
"ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0",
|
"Authority": "https://pocketid.triggermeelmo.com",
|
||||||
"ClientSecret": "QHUNaRyK2VVYdZVz1cQqv8FEf2qtL6QH",
|
"ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0",
|
||||||
"CallbackPath": "/signin-oidc",
|
"ClientSecret": "QHUNaRyK2VVYdZVz1cQqv8FEf2qtL6QH",
|
||||||
"ResponseType": "code"
|
"CallbackPath": "/signin-oidc",
|
||||||
|
"ResponseType": "code"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user