Skip to content

Commit c40276b

Browse files
authored
Fix doubled-up UseAuthorization (part 2) (#17822)
1 parent 74b69be commit c40276b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aspnetcore/security/cors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Enabling CORS on a per-endpoint basis using `RequireCors` currently does ***not*
103103

104104
With endpoint routing, CORS can be enabled on a per-endpoint basis using the <xref:Microsoft.AspNetCore.Builder.CorsEndpointConventionBuilderExtensions.RequireCors*> set of extension methods:
105105

106-
[!code-csharp[](cors/3.1sample/Cors/WebAPI/StartupEndPt.cs?name=snippet2&highlight=3,7-15,32,41,44)]
106+
[!code-csharp[](cors/3.1sample/Cors/WebAPI/StartupEndPt.cs?name=snippet2&highlight=3,7-15,32,40,43)]
107107

108108
In the preceding code:
109109

0 commit comments

Comments
 (0)