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();