From 75716a9444aced19497f673219632cf80c989e4d Mon Sep 17 00:00:00 2001 From: zhangpeihang <948869991@qq.com> Date: Thu, 27 Jan 2022 17:33:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20api=20=E6=94=B9=E4=B8=BA=E5=B0=8F?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vue/api/BootstrapAdmin.Api/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vue/api/BootstrapAdmin.Api/Program.cs b/src/vue/api/BootstrapAdmin.Api/Program.cs index 5fbd188d..dcb75af7 100644 --- a/src/vue/api/BootstrapAdmin.Api/Program.cs +++ b/src/vue/api/BootstrapAdmin.Api/Program.cs @@ -6,6 +6,7 @@ var builder = WebApplication.CreateBuilder(args); // Configure the service container. builder.Services.AddControllers(); +builder.Services.AddRouting(s => s.LowercaseUrls = true); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(options => {