feat(dashboard): make Galaxy browse and watch accessible
This commit is contained in:
@@ -10,6 +10,12 @@ builder.Services.AddSingleton<IDashboardSnapshotService, StubSnapshotService>();
|
||||
builder.Services.AddSingleton<IDashboardSnapshotFeed, IdleSnapshotFeed>();
|
||||
builder.Services.AddSingleton<IDashboardApiKeyManagementService, ManagingApiKeyService>();
|
||||
builder.Services.AddSingleton<AuthenticationStateProvider, StubAuthenticationStateProvider>();
|
||||
builder.Services.AddSingleton<ZB.MOM.WW.GalaxyRepository.IGalaxyHierarchyCache, FixtureGalaxyCache>();
|
||||
builder.Services.AddSingleton<IDashboardBrowseService, DashboardBrowseService>();
|
||||
builder.Services.AddSingleton<IDashboardLiveDataService, FixtureLiveData>();
|
||||
builder.Services.AddSingleton<ZB.MOM.WW.GalaxyRepository.IGalaxyDeployNotifier, ZB.MOM.WW.GalaxyRepository.GalaxyDeployNotifier>();
|
||||
builder.Services.AddSingleton<DashboardBrowseSearchIndex>();
|
||||
builder.Services.AddScoped<DashboardCircuitConnectionTracker>();
|
||||
var app = builder.Build();
|
||||
app.UseStaticFiles(new StaticFileOptions { FileProvider = new PhysicalFileProvider(Path.GetFullPath("../../../src/ZB.MOM.WW.MxGateway.Server/wwwroot")) });
|
||||
app.UseStaticFiles();app.UseAntiforgery();
|
||||
|
||||
Reference in New Issue
Block a user