File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ public static class WebApplicationExtensions
88{
99 public static void UseServiceControlAudit ( this WebApplication app )
1010 {
11- app . UseCors ( ) ;
1211 app . UseForwardedHeaders ( new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders . All } ) ;
1312 app . UseResponseCompression ( ) ;
1413 app . UseMiddleware < BodyUrlRouteFix > ( ) ;
1514 app . UseHttpLogging ( ) ;
15+ app . UseCors ( ) ;
1616 app . MapControllers ( ) ;
1717 }
1818}
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ public static class WebApplicationExtensions
99{
1010 public static void UseServiceControl ( this WebApplication app )
1111 {
12- app . UseCors ( ) ;
1312 app . UseForwardedHeaders ( new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders . All } ) ;
1413 app . UseResponseCompression ( ) ;
1514 app . UseMiddleware < BodyUrlRouteFix > ( ) ;
1615 app . UseHttpLogging ( ) ;
1716 app . MapHub < MessageStreamerHub > ( "/api/messagestream" ) ;
17+ app . UseCors ( ) ;
1818 app . MapControllers ( ) ;
1919 }
2020}
You can’t perform that action at this time.
0 commit comments