yuzd / Hangfire.HttpJob

httpjob for Hangfire,restful api for Hangfire,job调度与业务分离
https://github.com/yuzd/Hangfire.HttpJob/wiki
MIT License
618 stars 184 forks source link

httpjob中按钮请求后端如何将请求地址加入前缀路径 #182

Closed m344739968 closed 1 year ago

m344739968 commented 1 year ago

hangfire dashboard地址:https://xxxx.xxxx.com.cn/group-order-job-service/job,其中group-order-job-service是域名下的相对路径 hangfire中可以通过配置来给路径加入前缀地址 app.UseHangfireDashboard("/job", new DashboardOptions { IgnoreAntiforgeryToken = true, AppPath = hangFireOption.DashboardAppPath PrefixPath = "/group-order-job-service" }); 但是httpjob相关的请求如何配置? image

yuzd commented 1 year ago

image image

得兼容一下dashbord的PrefixPath

晚点我看看,或者你可以帮忙给个PR

yuzd commented 1 year ago

https://github.com/yuzd/Hangfire.HttpJob/pull/183