Skip to content

Commit 88669be

Browse files
committed
TD-6127: Changes in Layout page.
1 parent 87f178b commit 88669be

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

LearningHub.Nhs.WebUI.TelBlazorClient/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
var apiSettings = new Settings
2626
{
2727
BaseUrl = "https://lh-openapi.dev.local/",
28-
ApiKey = "123-456-789"
28+
ApiKey = ""
2929
};
3030

3131
// Step 3: Register services with DI

LearningHub.Nhs.WebUI/Views/Search/Index.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@section styles{
88
<link rel="stylesheet" type="text/css" href="~/css/nhsuk/pages/search.css" asp-append-version="true" />
99
}
10-
@* <script src="~/blazor/_framework/blazor.webassembly.js" autostart="false"></script>
10+
@* <script type="text/javascript" src="~/blazor/_framework/blazor.webassembly.js" autostart="false" asp-append-version="true"></script>
1111
<script>
1212
1313
if (!window._blazorStarted) {
@@ -71,12 +71,12 @@
7171
</div>
7272
@* <component type="typeof(TELBlazor.Components.Components.BaseComponents.TELAutoSuggestTextbox)" render-mode="WebAssembly" /> *@
7373

74-
@* <h3>Fruit Search (Blazor Server Component)</h3>
74+
@* <h3> Search (Blazor Server Component)</h3>
7575
7676
<component type="typeof(TELAutoSuggestTextbox)"
7777
render-mode="Server"
7878
param-ApiUrl=@("/api/search/GetResult1")
79-
param-Placeholder="@("Type a fruit...")"/> *@
79+
param-Placeholder="@("Type a text...")"/> *@
8080

8181
@if (Model.DidYouMeanEnabled)
8282
{

LearningHub.Nhs.WebUI/Views/Shared/Tenant/LearningHub/_Layout.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
@* <script>
166166
window.__BlazorRuntimeBase = "/blazor/_framework/";
167167
</script> *@
168-
<script src="~/_framework/blazor.webassembly.js" autostart="true"></script>
168+
@* <script src="~/blazor/_framework/blazor.webassembly.js" autostart="true" asp-append-version="true"></script> *@
169+
<script src="~/_framework/blazor.webassembly.js" autostart="true" asp-append-version="true"></script>
169170
@* <script>
170171
Blazor.start({
171172
environmentBaseUrl: '/blazor/_framework/'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "Information",
5+
"Microsoft.AspNetCore": "Warning"
6+
}
7+
},
8+
"AllowedHosts": "*",
9+
"Settings": {
10+
"BaseUrl": "https://lh-openapi.dev.local/",
11+
"ApiKey": "123-456-789"
12+
}
13+
}

0 commit comments

Comments
 (0)