From 68deb4f3c42c08546eaa97a77ace4f029b32c92e Mon Sep 17 00:00:00 2001 From: Joel Mitchell Date: Mon, 23 Aug 2021 10:23:16 +0100 Subject: [PATCH] Updated to Cofoundry 0.9.2 and fixed breaking change. --- .../Cofoundry.Plugins.BackgroundTasks.Hangfire.csproj | 4 ++-- .../Startup/HangfireServerInitializer.cs | 2 +- src/HangfireSample/HangfireSample.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Cofoundry.Plugins.BackgroundTasks.Hangfire.csproj b/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Cofoundry.Plugins.BackgroundTasks.Hangfire.csproj index 41e1572..da092dd 100644 --- a/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Cofoundry.Plugins.BackgroundTasks.Hangfire.csproj +++ b/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Cofoundry.Plugins.BackgroundTasks.Hangfire.csproj @@ -15,7 +15,7 @@ - - + + \ No newline at end of file diff --git a/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Startup/HangfireServerInitializer.cs b/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Startup/HangfireServerInitializer.cs index 0739274..d4a2c70 100644 --- a/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Startup/HangfireServerInitializer.cs +++ b/src/Cofoundry.Plugins.BackgroundTasks.Hangfire/Startup/HangfireServerInitializer.cs @@ -38,7 +38,7 @@ public void Initialize(IApplicationBuilder app) if (_hangfireSettings.EnableHangfireDashboard && !_adminSettings.Disabled) { - var adminPath = FilePathHelper.CombineVirtualPath(_adminSettings.DirectoryName, "hangfire"); + var adminPath = RelativePathHelper.Combine(_adminSettings.DirectoryName, "hangfire"); app.UseHangfireDashboard(adminPath, new DashboardOptions { Authorization = new IDashboardAuthorizationFilter[] { new HangfireDashboardAuthorizationFilter() }, diff --git a/src/HangfireSample/HangfireSample.csproj b/src/HangfireSample/HangfireSample.csproj index e8505b8..3624e01 100644 --- a/src/HangfireSample/HangfireSample.csproj +++ b/src/HangfireSample/HangfireSample.csproj @@ -7,7 +7,7 @@ - +