Created
December 26, 2020 15:52
-
-
Save meriturva/68be0b585d541bf2ee46b95267fc80b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hangFireDashboardOptions = new DashboardOptions { | |
DashboardTitle = "Scheduler", | |
// To remove back link | |
AppPath = null, | |
Authorization = new IDashboardAuthorizationFilter[] | |
{ | |
new HangfireDashboardJwtAuthorizationFilter("Admin") | |
} | |
}; | |
app.UseHangfireDashboard("/hangfire", hangFireDashboardOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment