Skip to content

Commit

Permalink
Removed ApiUrl from pointing to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
nenad0707 committed Jun 4, 2024
1 parent 99e05bf commit 4e01263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TaskTackler/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
builder.Services.AddScoped<CachingHandler>();


var apiUrl = Environment.GetEnvironmentVariable("ApiUrl") ?? "https://localhost:7213/api/";
var apiUrl = Environment.GetEnvironmentVariable("ApiUrl") ?? "";
builder.Services.AddHttpClient("api", client =>
{
client.BaseAddress = new Uri(apiUrl);
Expand Down
2 changes: 1 addition & 1 deletion TaskTackler/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
}
},
"AllowedHosts": "*",
"ApiUrl": "https://localhost:7213/api/"
"ApiUrl": ""
}

0 comments on commit 4e01263

Please sign in to comment.