Skip to content

Commit

Permalink
Libraries update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcominerva committed Jul 28, 2023
1 parent c845176 commit 938e6eb
Show file tree
Hide file tree
Showing 59 changed files with 233 additions and 234 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ChatGptNet" Version="2.1.9" />
<PackageReference Include="ChatGptNet" Version="2.2.11" />
<PackageReference Include="DallENet" Version="1.0.9" />
<PackageReference Include="OperationResultTools" Version="1.0.12" />
<PackageReference Include="Polly" Version="7.2.4" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Text;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
using RandomPhotos.BusinessLayer.Settings;
using TinyHelpers.Extensions;

Expand All @@ -22,7 +23,7 @@ public async Task InvokeAsync(HttpContext context)
{
if (context.Request.Path.StartsWithSegments("/swagger") && settings.UserName.HasValue() && settings.Password.HasValue())
{
string authenticationHeader = context.Request.Headers["Authorization"];
string authenticationHeader = context.Request.Headers[HeaderNames.Authorization];
if (authenticationHeader?.StartsWith("Basic ") ?? false)
{
// Get the credentials from request header
Expand Down
2 changes: 1 addition & 1 deletion src/RandomPhotos/libman.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"defaultProvider": "cdnjs",
"libraries": [
{
"library": "[email protected].0",
"library": "[email protected].1",
"destination": "wwwroot/lib/bootstrap"
},
{
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions src/RandomPhotos/wwwroot/lib/bootstrap/css/bootstrap-reboot.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions src/RandomPhotos/wwwroot/lib/bootstrap/css/bootstrap-utilities.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 938e6eb

Please sign in to comment.