We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b5a33 commit 22d2c8bCopy full SHA for 22d2c8b
src/LinCms.Web/Startup/Program.cs
@@ -74,6 +74,9 @@
74
await app.Services.RunScopeClientPolicy();
75
app.Services.RunFreeSqlSyncStructure();
76
77
+string vPath = builder.Configuration.GetValue<string>("ASPNETCORE_PATHBASE") ?? "";
78
+app.UsePathBase(new PathString(vPath));
79
+
80
app
81
.UseForwardedHeaders()
82
.UseBasicAuthentication()
src/LinCms.Web/appsettings.json
@@ -1,4 +1,5 @@
1
{
2
+ "ASPNETCORE_PATHBASE": "/lincms_api",
3
"ConnectionStrings": {
4
"DefaultDB": "0",
5
"DataType": {
0 commit comments