From a281f4acafe3652a6d04ace1d6ff6c736a2a840b Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Sat, 7 Feb 2026 02:51:01 +0100 Subject: [PATCH] Code cleanup --- Program.cs | 4 ++-- wwwroot/css/components.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index ffc5532..8dc6090 100644 --- a/Program.cs +++ b/Program.cs @@ -146,9 +146,9 @@ static Task WriteUnauthorizedChallengeAsync(HttpContext context) { Status = StatusCodes.Status401Unauthorized, Title = "Unauthorized", - Detail = "Unauthorized" + Detail = "Unauthorized", + Extensions = { ["error"] = "Unauthorized" } }; - problem.Extensions["error"] = "Unauthorized"; return context.Response.WriteAsJsonAsync(problem); } diff --git a/wwwroot/css/components.css b/wwwroot/css/components.css index d69b1bc..c6a8786 100644 --- a/wwwroot/css/components.css +++ b/wwwroot/css/components.css @@ -219,6 +219,7 @@ button .chip { /* Slider */ input[type="range"].full-slider { -webkit-appearance: none; + appearance: none; width: 100%; height: 20px; border-radius: 999px;