From c811a51cb05d54232337ebc2aa1ce74be33a3298 Mon Sep 17 00:00:00 2001 From: Daniil Mironenko Date: Wed, 17 Jul 2024 15:25:00 +0300 Subject: [PATCH] fix(metrics-panel-lost-commits): recover `HOST` env variable (#33) --- .env.example | 1 + config/application.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.env.example b/.env.example index 17ef94f2..913caadd 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,4 @@ +HOST=wheremylikes.com POSTGRES_DB=wheremylikes_development POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres diff --git a/config/application.rb b/config/application.rb index bc9dc3b4..c3894ad0 100644 --- a/config/application.rb +++ b/config/application.rb @@ -28,5 +28,7 @@ class Application < Rails::Application # # config.time_zone = "Central Time (US & Canada)" # config.eager_load_paths << Rails.root.join("extras") + + config.hosts << ENV['HOST'] end end