Skip to content

Commit

Permalink
change to AZURE_POSTGRESQL_CONNECTIONSTRING
Browse files Browse the repository at this point in the history
  • Loading branch information
f0x4c1d committed Aug 6, 2024
1 parent d1ee773 commit f55c73a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/starter-no-infra_msdocs-core-sql-loj.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
## More GitHub Actions for Azure: https://github.com/Azure/actions
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy ASP.Net Core app to Azure Web App - msdocs-core-sql-LOJ

Expand Down
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
else
{
builder.Services.AddDbContext<MyDatabaseContext>(options =>
options.UseSqlServer(builder.Configuration.GetConnectionString("AZURE_SQL_CONNECTIONSTRING")));
options.UseSqlServer(builder.Configuration.GetConnectionString("AZURE_POSTGRESQL_CONNECTIONSTRING")));
builder.Services.AddStackExchangeRedisCache(options =>
{
options.Configuration = builder.Configuration["AZURE_REDIS_CONNECTIONSTRING"];
Expand Down

0 comments on commit f55c73a

Please sign in to comment.