File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ApiTemplate/Source/ApiTemplate
GraphQLTemplate/Source/GraphQLTemplate Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ public virtual void Configure(IApplicationBuilder application) =>
109109#elif HostFiltering
110110 . UseHostFiltering ( )
111111#endif
112+ . UseRouting ( )
112113#if CORS
113114 . UseCors ( CorsPolicyName . AllowAny )
114115#endif
@@ -126,7 +127,6 @@ public virtual void Configure(IApplicationBuilder application) =>
126127 . UseIf (
127128 this . webHostEnvironment . IsDevelopment ( ) ,
128129 x => x. UseDeveloperExceptionPage( ) )
129- . UseRouting( )
130130 . UseStaticFilesWithCacheControl( )
131131 . UseCustomSerilogRequestLogging( )
132132 . UseEndpoints(
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ public virtual void Configure(IApplicationBuilder application) =>
9797#elif HostFiltering
9898 . UseHostFiltering ( )
9999#endif
100+ . UseRouting ( )
100101#if CORS
101102 . UseCors ( CorsPolicyName . AllowAny )
102103#endif
@@ -114,7 +115,6 @@ public virtual void Configure(IApplicationBuilder application) =>
114115#if Subscriptions
115116 . UseWebSockets ( )
116117#endif
117- . UseRouting( )
118118 . UseStaticFilesWithCacheControl ( )
119119 . UseCustomSerilogRequestLogging ( )
120120 . UseEndpoints(
You can’t perform that action at this time.
0 commit comments