Used queries to get data from scrape database instead of FabTime to use a single data source.
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ReportingServices.Shared.Models.PlanningReport;
|
||||
using ReportingServices.Shared.HelperClasses;
|
||||
using static System.Net.WebRequestMethods;
|
||||
|
||||
namespace ReportingServices.UI.Controllers
|
||||
{
|
||||
@ -13,7 +12,7 @@ namespace ReportingServices.UI.Controllers
|
||||
public PlanningReportController(ILogger<PlanningReportController> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
_baseUrl = "http://localhost:50201/api/" + "ScrapeDB/";
|
||||
_baseUrl = "https://localhost:7196/api/" + "ScrapeDB/";
|
||||
|
||||
_logger.LogInformation("Base API Address: {baseUrl}", _baseUrl);
|
||||
}
|
||||
|
@ -16,8 +16,8 @@ namespace ReportingServices.UI.Controllers
|
||||
public ProductionReportController(ILogger<ProductionReportController> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
_baseFTUrl = "http://mestsa008:50201/api/";
|
||||
_baseDBUrl = "http://localhost:50201/api/";
|
||||
_baseFTUrl = "https://localhost:7196/api/";
|
||||
_baseDBUrl = "https://localhost:7196/api/";
|
||||
|
||||
_logger.LogInformation("Base FabTime Address: {baseUrl}", _baseFTUrl);
|
||||
_logger.LogInformation("Base Database Address: {baseUrl}", _baseDBUrl);
|
||||
|
Reference in New Issue
Block a user