mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
kljhlkjhljh
This commit is contained in:
1 parent
3e8e7381e5
commit
47fb655a96
6 files changed
+38
-13
No files matched your search
@@ -4,10 +4,11 @@ using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||
using Radzen;
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
builder.Services.AddRadzenComponents();
|
||||
builder.RootComponents.Add<App>("#app");
|
||||
builder.RootComponents.Add<HeadOutlet>("head::after");
|
||||
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://192.168.0.26:5001/") });
|
||||
|
||||
await builder.Build().RunAsync();
|
||||
Reference in new issue
Block a user