.env Datei hinzugefügt

This commit is contained in:
2025-06-17 19:00:37 +02:00
parent d15ce5d24a
commit a550e9f397
5 changed files with 12 additions and 8 deletions

0
Watcher/.env Normal file
View File

0
Watcher/.env.example Normal file
View File

View 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();

View File

@@ -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" />

View File

@@ -17,6 +17,7 @@
}, },
"Authentication": { "Authentication": {
"UseLocal": true,
"PocketID": { "PocketID": {
"Authority": "https://pocketid.triggermeelmo.com", "Authority": "https://pocketid.triggermeelmo.com",
"ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0", "ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0",