mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
kljhlkjhljh
This commit is contained in:
1 parent
3e8e7381e5
commit
47fb655a96
6 files changed
+38
-13
No files matched your search
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user