kljhlkjhljh

This commit is contained in:
Hukuta committed 2026-05-18 06:53:33 +09:00
1 parent 3e8e7381e5
commit 47fb655a96
6 files changed
+38 -13

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
protected override async Task OnInitializedAsync()
{
var response = await httpClient.GetAsync("http://localhost:5197/api/Report/GetReportToDatePerCountPrinted");
var response = await httpClient.GetAsync(ApiRoutes.Report.GetReportToDatePerCountPrinted);
dataPerPrinteds = JsonConvert.DeserializeObject<List<DTOs.PrinterCounterRecord.noId>>(await response.Content.ReadAsStringAsync());
dataPerPrinteds = dataPerPrinteds?.OrderBy(x => x.date).ToList();
+2 -1
View File
@@ -4,10 +4,11 @@ using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Radzen;
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.Services.AddRadzenComponents();
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://192.168.0.26:5001/") });
await builder.Build().RunAsync();
+1 -1
View File
@@ -6,7 +6,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:51955;http://localhost:51956"
"applicationUrl": "https://0.0.0.0:5000;http://0.0.0.0:5001"
}
}
}