Hangfire.RecurringJobAdmin icon indicating copy to clipboard operation
Hangfire.RecurringJobAdmin copied to clipboard

1.0.5 nuget version bug

Open cetins32 opened this issue 1 year ago • 4 comments

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; }

apperror

cetins32 avatar Jun 06 '23 13:06 cetins32

+1

FixRM avatar Jun 08 '23 13:06 FixRM

+1

ricardosmoke avatar Jun 10 '23 15:06 ricardosmoke

I see the author is not going to create a new tag with this tag?

sergeydor avatar May 23 '24 15:05 sergeydor

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.

FixRM avatar May 24 '24 06:05 FixRM