mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 11:20:05 +02:00
feat: Strawberry Shake first query
This commit is contained in:
1 parent
235a717f51
commit
798a9d0e43
7 files changed
+1095
-9
No files matched your search
@@ -30,6 +30,13 @@ namespace WotBlitzStatisticsPro.Blazor
|
||||
builder.Services.AddSingleton<NavigationMessagesInterceptor>();
|
||||
builder.Services.AddScoped<ILocalStorageService, LocalStorageService>();
|
||||
|
||||
// ToDo: Find out URL
|
||||
// StrawberryShake GraphQL Client
|
||||
builder.Services
|
||||
.AddWotBlitzStatisticsProClient()
|
||||
.ConfigureHttpClient(client => client.BaseAddress = new Uri($"https://localhost:5001/graphql/"));
|
||||
|
||||
|
||||
var host = builder.Build();
|
||||
// Reading Current Culture from LocalStorage
|
||||
var localStorageService = host.Services.GetRequiredService<ILocalStorageService>();
|
||||
|
||||
Reference in new issue
Block a user