mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-23 16:13:14 +01:00
5 lines
141 B
Ruby
5 lines
141 B
Ruby
|
config = {
|
||
|
host: ENV.fetch('ELASTICSEARCH_URL', 'http://localhost:9200')
|
||
|
}
|
||
|
Elasticsearch::Model.client = Elasticsearch::Client.new(config)
|