Skip to content

Commit 6dfcbcd

Browse files
committed
Update docs
1 parent 2657bf8 commit 6dfcbcd

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## ASP.NET Core, Angular BFF using Microsoft Entra ID Changelog
22

3+
### 2025-10-31 1.0.3
4+
- Switch to Angular CLI and vite
5+
- Angular 20.3.0
6+
-
37
### 2025-08-03 1.0.2
48
- Updated packages
59
- Angular 20.1.4

server/Program.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,8 @@
8383
app.UseSecurityHeaders();
8484

8585
app.UseHttpsRedirection();
86-
8786
app.UseStaticFiles();
88-
8987
app.UseRouting();
90-
9188
app.UseNoUnauthorizedRedirect("/api");
9289

9390
app.UseAuthentication();

server/SecurityHeadersDefinitions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static HeaderPolicyCollection GetHeaderPolicyCollection(bool isDev, strin
3838
builder.AddStyleSrc().WithNonce().UnsafeInline();
3939
}
4040

41-
builder.AddScriptSrcElem().Self();
41+
builder.AddScriptSrcElem().WithNonce().UnsafeInline();
4242
builder.AddScriptSrc().WithNonce().UnsafeInline();
4343
})
4444
.RemoveServerHeader()

0 commit comments

Comments
 (0)