Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from kurmann/21-non-beta-release
Browse files Browse the repository at this point in the history
21 non beta release
  • Loading branch information
kurmann authored Apr 1, 2024
2 parents 25b3c21 + cbeb981 commit 9877786
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<!-- Die Version sollte mit jeder Veröffentlichung auf Nuget.org erhöht werden. Die Release Notes dürfen Umbrüche
enthalten, jedoch keine spezifischen Markdown-Formatierungen wie fett oder kursiv oder Überschriften -->
<PackageVersion>1.10.0-beta</PackageVersion>
<PackageReleaseNotes>Integration von UserSecrets, IOptions-Pattern beim SCI-Modul angewandt und ausführlich dokumentiert.
<PackageVersion>1.10.0</PackageVersion>
<PackageReleaseNotes>Veröffentlichung als stabile Version 1.10.0.
</PackageReleaseNotes>

<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
2 changes: 1 addition & 1 deletion templates/scimodule/Application/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static IHostBuilder CreateHostBuilder(string[] args)
return Host.CreateDefaultBuilder(args)
.ConfigureAppConfiguration((hostingContext, config) =>
{
if (hostingContext.HostingEnvironment.IsDevelopment())
if (Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == Environments.Development)
{
// execute "dotnet user-secrets init" in the project folder to create the secrets.json file
// add specific secrets with "dotnet user-secrets set "Kurmann:Videoschnitt:MikaModule:SampleSetting" "Secret Value""
Expand Down

0 comments on commit 9877786

Please sign in to comment.