Hardcoded all production string references.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ReportingServices.Shared.Models.PlanningReport;
|
||||
using ReportingServices.Shared.HelperClasses;
|
||||
using static System.Net.WebRequestMethods;
|
||||
|
||||
namespace ReportingServices.UI.Controllers
|
||||
{
|
||||
@ -14,7 +15,7 @@ namespace ReportingServices.UI.Controllers
|
||||
{
|
||||
_logger = logger;
|
||||
_configuration = configuration;
|
||||
_baseUrl = _configuration.GetValue<string>("BaseAPIAddress") + "ScrapeDB/";
|
||||
_baseUrl = "http://localhost:50201/api/" + "ScrapeDB/";
|
||||
|
||||
_logger.LogInformation("Base API Address: {baseUrl}", _baseUrl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user