fix(server): fixes auth error when accessing favicon.ico
This commit is contained in:
@@ -264,6 +264,8 @@ app.UseWebSockets(new WebSocketOptions
|
|||||||
KeepAliveInterval = TimeSpan.FromSeconds(30)
|
KeepAliveInterval = TimeSpan.FromSeconds(30)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.UseStaticFiles();
|
||||||
|
|
||||||
app.MapAdminEndpoints(settings);
|
app.MapAdminEndpoints(settings);
|
||||||
|
|
||||||
app.MapGet("/", () => Results.Redirect("/admin"));
|
app.MapGet("/", () => Results.Redirect("/admin"));
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user