Skip to content

Commit

Permalink
[B] Fix X-Frame options header preventing embedding of the site
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Jan 3, 2025
1 parent a64ad10 commit 76f6d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/iRLeagueManager.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
builder.Services.AddSingleton<IAuthorizationHandler, CustomAuthorizationHandler>();
builder.Services.AddLocalization();
builder.Services.AddMarkdown();
builder.Services.AddAntiforgery(o => o.SuppressXFrameOptionsHeader = true);

builder.Services.AddMudServices(config =>
{
Expand Down
2 changes: 1 addition & 1 deletion src/iRLeagueManager.Web/iRLeagueManager.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>0.14.1</Version>
<Version>0.14.2</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>aspnet-iRLeagueManager.Web-2B05F9DC-55A3-49D1-BD64-31507000EDF3</UserSecretsId>
Expand Down

0 comments on commit 76f6d11

Please sign in to comment.