Skip to content


Use relative stats route #87

merged 1 commit into from

2 participants


Prior to this fix all requests to the stats route failed when kue was mounted at a subdirectory:

// stats requests go to /stats rather than /kue/stats
@tj tj merged commit 228cd57 into Automattic:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2011
  1. @alexkwolfe
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/http/public/javascripts/main.js
2 lib/http/public/javascripts/main.js
@@ -235,7 +235,7 @@ function refreshJobs(state, fn) {
function pollStats(ms) {
- request('/stats', function(data){
+ request('./stats', function(data){
o('li.inactive .count').text(data.inactiveCount);
o(' .count').text(data.activeCount);
o('li.complete .count').text(data.completeCount);
Something went wrong with that request. Please try again.