Skip to content

Commit

Permalink
chg - Changed base address
Browse files Browse the repository at this point in the history
---

Type: chg
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Aug 15, 2024
1 parent b2eacd0 commit 945a957
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion Demos/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static async Task Main(string[] args)
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");

builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress + "Demos") });

// Add necessary services
builder.Services.AddSingleton<NamerService>();
Expand Down
10 changes: 0 additions & 10 deletions Demos/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@
<span class="oi oi-beaker" aria-hidden="true"></span>
</NavLink>
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="projects">
<span class="oi oi-project" aria-hidden="true"></span>
</NavLink>
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="downloads">
<span class="oi oi-cloud-download" aria-hidden="true"></span>
</NavLink>
</li>
<li class="nav-item px-3">
<NavLink class="nav-link" href="https://officialaptivi.wordpress.com/">
<span class="oi oi-globe" aria-hidden="true"></span>
Expand Down

0 comments on commit 945a957

Please sign in to comment.