Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.5 nuget version bug #99

Open
cetins32 opened this issue Jun 6, 2023 · 4 comments
Open

1.0.5 nuget version bug #99

cetins32 opened this issue Jun 6, 2023 · 4 comments

Comments

@cetins32
Copy link

cetins32 commented Jun 6, 2023

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

@FixRM
Copy link

FixRM commented Jun 8, 2023

+1

1 similar comment
@ricardosmoke
Copy link

+1

@sergeydor
Copy link

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

@FixRM
Copy link

FixRM commented May 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants