Skip to content

Commit 500dbb5

Browse files
committed
fix program
1 parent 2573200 commit 500dbb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/WebApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
app.UseAuthentication();
3737
app.UseAuthorization();
3838

39-
var serverSubPath = bool.Parse(builder.Configuration["SerilogUi:AddServerSubPath"] ?? "false") == true ? "log" : "";
39+
var serverSubPath = bool.Parse(builder.Configuration["SerilogUi:AddServerSubPath"] ?? "false") == true ? "log" : "/";
4040
app.UseSerilogUi(options => options
4141
.WithHomeUrl("/#Test")
4242
.WithServerSubPath(serverSubPath)

0 commit comments

Comments
 (0)