Hangfire: Dashboard issue in v1.6.10

Created on 14 Mar 2017  路  2Comments  路  Source: HangfireIO/Hangfire

The dashboard is broken because the CSS and JS files referenced in the latest version are /js1610 and /css1610.
However, the dashboard routes for these are expecting only a 3 digit suffixes (see below). Can someone please fix this to support 4 digit suffixes? I could have done it but don't know how to submit a pull request and don't have the time to learn how to do it either.

  DashboardRoutes.Routes.Add("/js[0-9]**{3}**", (IDashboardDispatcher) new CombinedResourceDispatcher("application/javascript", DashboardRoutes.GetExecutingAssembly(), DashboardRoutes.GetContentFolderNamespace("js"), DashboardRoutes.Javascripts));
  DashboardRoutes.Routes.Add("/css[0-9]**{3}**", (IDashboardDispatcher) new CombinedResourceDispatcher("text/css", DashboardRoutes.GetExecutingAssembly(), DashboardRoutes.GetContentFolderNamespace("css"), DashboardRoutes.Stylesheets));
dashboard bug

Most helpful comment

Thanks guys for quick feedback! I've just released 1.6.11 with fix for this problem.

All 2 comments

Heh, that's one of the more curious bugs I've seen in a long time :)

Thanks guys for quick feedback! I've just released 1.6.11 with fix for this problem.

Was this page helpful?
0 / 5 - 0 ratings