Skip to content

Commit

Permalink
Change hostname to correct
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavrick committed Sep 6, 2023
1 parent 24c8fac commit a87b4cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a87b4cc

Please sign in to comment.