Skip to content

Commit f105fcb

Browse files
committed
Enable user secrets
1 parent b2884de commit f105fcb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎SpotifyAPI.Web.Examples/Example.ASP/Program.cs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
2121
.ConfigureWebHostDefaults(webBuilder =>
2222
{
2323
webBuilder.UseStartup<Startup>();
24+
})
25+
.ConfigureAppConfiguration((httpContext, builder) =>
26+
{
27+
builder.AddUserSecrets<Program>();
2428
});
2529
}
2630
}

0 commit comments

Comments
 (0)