Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
24 lines (19 loc) · 847 Bytes

File metadata and controls

24 lines (19 loc) · 847 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) Jonathan Shull - See license file at github.com/amytho/pdf-acc-toolset
using Blazored.Toast;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Pdf_Acc_Toolset;
using Pdf_Acc_Toolset.Services;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
ConfigureServices(builder.Services, builder.HostEnvironment);
// Set the Env
Config.Env = builder.HostEnvironment.Environment;
Console.WriteLine($"Env is {Config.Env}");
await builder.Build().RunAsync();
// All Services must be added in this method for pre-rendering
static void ConfigureServices(IServiceCollection services, IWebAssemblyHostEnvironment hostEnv) {
// Toast messages
services.AddBlazoredToast();
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.