Skip to content

Commit

Permalink
chore: update readme by loading rabbitmq url from RABBITMQ_URL env
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Oct 30, 2024
1 parent a954035 commit 3d9c6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can configure the Lepus using the `Lepus.configure` method. The configuratio
```ruby
Lepus.configure do |config|
config.connection_name = 'MyApp'
config.rabbitmq_url = 'amqp://guest:guest@localhost:5672'
config.rabbitmq_url = ENV.fetch('RABBITMQ_URL', 'amqp://guest:guest@localhost:5672')
end
```

Expand Down

0 comments on commit 3d9c6d0

Please sign in to comment.