File tree 2 files changed +2
-2
lines changed
BlazorBffAzureADWithApi/Server
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static HeaderPolicyCollection GetHeaderPolicyCollection(bool isDev, strin
20
20
builder . AddImgSrc ( ) . Self ( ) . From ( "data:" ) ;
21
21
builder . AddFormAction ( ) . Self ( ) . From ( idpHost ) ;
22
22
builder . AddFontSrc ( ) . Self ( ) ;
23
- builder . AddStyleSrc ( ) . WithNonce ( ) . UnsafeInline ( ) ;
23
+ builder . AddStyleSrc ( ) . Self ( ) . UnsafeInline ( ) ;
24
24
builder . AddBaseUri ( ) . Self ( ) ;
25
25
builder . AddFrameAncestors ( ) . None ( ) ;
26
26
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static HeaderPolicyCollection GetHeaderPolicyCollection(bool isDev, strin
20
20
builder . AddImgSrc ( ) . Self ( ) . From ( "data:" ) ;
21
21
builder . AddFormAction ( ) . Self ( ) . From ( idpHost ) ;
22
22
builder . AddFontSrc ( ) . Self ( ) ;
23
- builder . AddStyleSrc ( ) . WithNonce ( ) . UnsafeInline ( ) ;
23
+ builder . AddStyleSrc ( ) . Self ( ) . UnsafeInline ( ) ;
24
24
builder . AddBaseUri ( ) . Self ( ) ;
25
25
builder . AddFrameAncestors ( ) . None ( ) ;
26
26
You can’t perform that action at this time.
0 commit comments