File tree Expand file tree Collapse file tree 4 files changed +19
-5
lines changed
LearningHub.Nhs.WebUI.TelBlazorClient
Shared/Tenant/LearningHub Expand file tree Collapse file tree 4 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 2525var 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
Original file line number Diff line number Diff line change 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) {
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 {
Original file line number Diff line number Diff line change 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/'
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments