This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user