From 1676056e4390be2bcc4e603c768a2de7bba3bcf3 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 24 Aug 2023 16:04:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Startup.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IRaCIS.Core.API/Startup.cs b/IRaCIS.Core.API/Startup.cs index a935dd00e..3bde16d4b 100644 --- a/IRaCIS.Core.API/Startup.cs +++ b/IRaCIS.Core.API/Startup.cs @@ -26,6 +26,7 @@ using IRaCIS.Core.Domain.Share; using Microsoft.AspNetCore.StaticFiles; using IRaCIS.Application.Services.BackGroundJob; using IRaCIS.Core.Application.Helper; +using Microsoft.AspNetCore.Http; namespace IRaCIS.Core.API { @@ -166,6 +167,8 @@ namespace IRaCIS.Core.API // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { + app.UsePathBase(PathString.FromUriComponent("/back")); + //±¾µØ»¯ app.UseLocalization();