@page "/"
@page "/system/health"
@using System.Reflection
@using ErsatzTV.Application.Health
@using ErsatzTV.Core.Health
@using ErsatzTV.Core.Interfaces.GitHub
@using Microsoft.Extensions.Caching.Memory
@implements IDisposable
@inject IGitHubApiClient GitHubApiClient
@inject IMemoryCache MemoryCache
@inject IMediator Mediator
@inject SystemStartup SystemStartup;
@if (!SystemStartup.IsDatabaseReady)
{
Database is initializingPlease wait, this may take a few minutes.This page will automatically refresh when the database is ready.
}
else if (!SystemStartup.IsSearchIndexReady)
{
Search Index is initializingPlease wait, this may take a few minutes.This page will automatically refresh when the search index is ready.
}
else
{
Health ChecksCheckMessage