Eliminate DeepDrftPublic internal track API

This commit is contained in:
Daniel Harvey
2026-05-25 12:55:30 -04:00
parent 068205a84e
commit e334886022
11 changed files with 27 additions and 150 deletions
+2 -3
View File
@@ -14,9 +14,8 @@ public static class Startup
services.AddScoped<DarkModeSettings>();
services.AddScoped<DarkModeCookieService>();
// Track Client. The HTTP-backed ITrackDataService registration here is the WASM
// default; the server host overrides it with an in-process implementation after
// this method runs, so SSR prerender skips the loopback hop.
// Track Client. The HTTP-backed ITrackDataService is used by both WASM and SSR
// prerender — both call DeepDrftAPI over the "DeepDrft.API" client.
services.AddScoped<TrackClient>();
services.AddScoped<ITrackDataService, TrackClientDataService>();
services.AddScoped<TracksViewModel>();