AB#6233 - Added application url on IHostingEnvironment. Still need a way to figure out how to get this value

This commit is contained in:
Bjarke Berg
2020-05-01 08:26:05 +02:00
parent 04872857e4
commit da1e83c0d1
24 changed files with 47 additions and 24 deletions

View File

@@ -24,22 +24,17 @@ namespace Umbraco.Web.Common.Install
{
private readonly DatabaseBuilder _databaseBuilder;
private readonly InstallStatusTracker _installStatusTracker;
private readonly IRuntimeState _runtimeState;
private readonly IUmbracoApplicationLifetime _umbracoApplicationLifetime;
private readonly InstallStepCollection _installSteps;
private readonly ILogger _logger;
private readonly IProfilingLogger _proflog;
public InstallApiController(DatabaseBuilder databaseBuilder, IProfilingLogger proflog,
InstallHelper installHelper, InstallStepCollection installSteps, InstallStatusTracker installStatusTracker,
IRuntimeState runtimeState, IUmbracoApplicationLifetime umbracoApplicationLifetime)
InstallHelper installHelper, InstallStepCollection installSteps, InstallStatusTracker installStatusTracker)
{
_databaseBuilder = databaseBuilder ?? throw new ArgumentNullException(nameof(databaseBuilder));
_proflog = proflog ?? throw new ArgumentNullException(nameof(proflog));
_installSteps = installSteps;
_installStatusTracker = installStatusTracker;
_runtimeState = runtimeState;
_umbracoApplicationLifetime = umbracoApplicationLifetime;
InstallHelper = installHelper;
_logger = _proflog;
}
@@ -175,7 +170,6 @@ namespace Umbraco.Web.Common.Install
}
_installStatusTracker.Reset();
_umbracoApplicationLifetime.Restart();
return new InstallProgressResultModel(true, "", "");
}