mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 04:28:29 +00:00
11 lines
420 B
C#
11 lines
420 B
C#
|
using Microsoft.AspNetCore.Components.Web;
|
||
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||
|
using NftFaucet;
|
||
|
|
||
|
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||
|
builder.RootComponents.Add<App>("#app");
|
||
|
builder.RootComponents.Add<HeadOutlet>("head::after");
|
||
|
|
||
|
builder.Services.AddScoped(sp => new HttpClient {BaseAddress = new Uri(builder.HostEnvironment.BaseAddress)});
|
||
|
|
||
|
await builder.Build().RunAsync();
|