We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a488d0b commit 7055fcaCopy full SHA for 7055fca
lib/resque/server.rb
@@ -147,7 +147,7 @@ def show(page, layout = true)
147
148
%w( overview workers ).each do |page|
149
get "/#{page}.poll" do
150
- content_type "text/plain"
+ content_type "text/html"
151
@polling = true
152
show(page.to_sym, false).gsub(/\s{1,}/, ' ')
153
end
@@ -201,7 +201,7 @@ def show(page, layout = true)
201
stats << "queues.#{queue}=#{Resque.size(queue)}"
202
203
204
- content_type 'text/plain'
+ content_type 'text/html'
205
stats.join "\n"
206
207
0 commit comments