From a87b4ccc39054b2b0df4c0939d3106c6268028be Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 6 Sep 2023 22:08:36 +0300 Subject: [PATCH] Change hostname to correct --- config/environments/development.rb | 2 +- config/environments/production.rb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index fd069b1..c66db19 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -9,7 +9,7 @@ # it changes. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. config.cache_classes = false - config.hosts << 'smallapiwrapper-production.up.railway.app' + config.hosts << 'smallapiwraper-production.up.railway.app' # Do not eager load code on boot. config.eager_load = false diff --git a/config/environments/production.rb b/config/environments/production.rb index 14b7260..4ea317d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -4,7 +4,8 @@ Rails.application.configure do # Settings specified here will take precedence over those in config/application.rb. - config.hosts << 'smallapiwrapper-production.up.railway.app' + config.hosts << 'smallapiwraper-production.up.railway.app' + # Code is not reloaded between requests. config.cache_classes = true