mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-06 06:45:18 -04:00
Stats Page Overhaul (#4292)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.IO;
|
||||
using API.Middleware;
|
||||
using API.Services;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
@@ -22,6 +23,7 @@ public class FallbackController : Controller
|
||||
_taskScheduler = taskScheduler; // TODO: Validate if this is needed as a DI anymore since we have a HostedStartupService
|
||||
}
|
||||
|
||||
[SkipDeviceTracking]
|
||||
public IActionResult Index()
|
||||
{
|
||||
if (HttpContext.Request.Path.StartsWithSegments("/api"))
|
||||
|
||||
Reference in New Issue
Block a user