mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +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)
|