```ruby
KomachiHeartbeat::Engine.routes.draw do
  get "heartbeat", :to => "heartbeat#index"
  get "version", :to => "heartbeat#version"

  get "stats/worker", :to => "stats#worker"
end
```

Fix /ops/heartbeat returns svg format with curl
user
```ruby
KomachiHeartbeat::Engine.routes.draw do
  get "heartbeat", :to => "heartbeat#index", defaults: { format: "txt" }
  get "version", :to => "heartbeat#version"

  get "stats/worker", :to => "stats#worker"
end
```
assistant