Changing Frameworks
CSS and Fonts
This commit is contained in:
@ -9,6 +9,7 @@ using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Seenginx.Data;
|
||||
using Seenginx.Services;
|
||||
|
||||
namespace Seenginx
|
||||
{
|
||||
@ -27,7 +28,9 @@ namespace Seenginx
|
||||
{
|
||||
services.AddRazorPages();
|
||||
services.AddServerSideBlazor();
|
||||
services.AddSingleton<WeatherForecastService>();
|
||||
services.AddTransient<IDmesgService,DmesgService>();
|
||||
services.AddTransient<INginxService,NginxService>();
|
||||
services.AddTransient<ISystemDService,SystemDService>();
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
@ -45,6 +48,7 @@ namespace Seenginx
|
||||
app.UseStaticFiles();
|
||||
|
||||
app.UseRouting();
|
||||
app.UseAuthentication();
|
||||
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user