diff --git a/fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs b/fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs index 9481745..83c61c4 100644 --- a/fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs +++ b/fundamentals/middleware/rate-limit/WebRateLimitAuth/Program.cs @@ -1,4 +1,4 @@ -#define TOKEN // FIRST ADMIN FIXED SLIDING CONCUR TOKEN FIXED2 JWT +#define FIRST // FIRST ADMIN FIXED SLIDING CONCUR TOKEN FIXED2 JWT #if NEVER #elif FIXED // @@ -167,6 +167,8 @@ app.Run(); // #elif FIRST // +// +// Preceding code removed for brevity. using System.Globalization; using System.Net; using System.Threading.RateLimiting; @@ -278,9 +280,6 @@ app.UseStaticFiles(); app.UseRouting(); app.UseRateLimiter(); -// -// Preceding code removed for brevity. - app.UseAuthentication(); app.UseAuthorization();