.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();
|
||||
|
||||
// ---------- Konfiguration ----------
|
||||
DotNetEnv.Env.Load();
|
||||
|
||||
builder.Configuration
|
||||
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
|
||||
.AddEnvironmentVariables();
|
||||
|
@@ -8,6 +8,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<!-- EF Core Design Tools -->
|
||||
<PackageReference Include="DotNetEnv" Version="3.1.1" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.6" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.6" />
|
||||
|
@@ -17,12 +17,13 @@
|
||||
},
|
||||
|
||||
"Authentication": {
|
||||
"PocketID": {
|
||||
"Authority": "https://pocketid.triggermeelmo.com",
|
||||
"ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0",
|
||||
"ClientSecret": "QHUNaRyK2VVYdZVz1cQqv8FEf2qtL6QH",
|
||||
"CallbackPath": "/signin-oidc",
|
||||
"ResponseType": "code"
|
||||
}
|
||||
}
|
||||
"UseLocal": true,
|
||||
"PocketID": {
|
||||
"Authority": "https://pocketid.triggermeelmo.com",
|
||||
"ClientId": "629a5f42-ab02-4905-8311-cc7b64165cc0",
|
||||
"ClientSecret": "QHUNaRyK2VVYdZVz1cQqv8FEf2qtL6QH",
|
||||
"CallbackPath": "/signin-oidc",
|
||||
"ResponseType": "code"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user