fix(server): fixes favicon not showing
Build & Deploy / build (push) Successful in 1m55s

This commit is contained in:
2026-08-01 22:44:04 +02:00
parent 2b56bc53b6
commit 44b09ffa86
2 changed files with 5 additions and 0 deletions
+5
View File
@@ -269,6 +269,11 @@ app.UseStaticFiles();
app.MapAdminEndpoints(settings); app.MapAdminEndpoints(settings);
app.MapGet("/favicon.ico", () =>
Results.File(
Path.Combine(app.Environment.WebRootPath, "favicon.ico"),
"image/x-icon"));
app.MapGet("/", () => Results.Redirect("/admin")); app.MapGet("/", () => Results.Redirect("/admin"));
app.MapGet(settings.StatusPath, (HttpContext context, TunnelHub hub, ServerSettings serverSettings, EmbeddingCache embeddingCache, ManagementStore managementStore) => app.MapGet(settings.StatusPath, (HttpContext context, TunnelHub hub, ServerSettings serverSettings, EmbeddingCache embeddingCache, ManagementStore managementStore) =>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB