Hangfire.RecurringJobAdmin
Hangfire.RecurringJobAdmin copied to clipboard
1.0.5 nuget version bug
Hi we use Hangfire.RecurringJobAdmin 1.0.5 nuget version for .net core 6.0. we have error JobExtension.css
Please Can you send new nuget version and fix this issue ?
nuget package code #app { position: relative !important; left: -229px !important; }
github code #app { position: relative !important; left: 0px !important; }
+1
+1
I see the author is not going to create a new tag with this tag?
I use this dirty hack for my OWIN setup:
app.Use(async (ctx, next) =>
{
if (ctx.Request.Path.Value == "/hangfire/JobConfiguration/css/jobExtension")
{
var t = typeof(WebStartup);
using (var stream = t.Assembly.GetManifestResourceStream($"{t.Namespace}.cssfix.css"))
using (var reader = new StreamReader(stream))
{
var content = reader.ReadToEnd();
await ctx.Response.WriteAsync(content);
}
}
else
{
await next();
}
});
there cssfix.css
is corrected style sheet file located in the project root and configured to be embedded as the resource during build. It's important due to how GetManifestResourceStream works.