Skip to content

Commit

Permalink
allow localhost:3000 as host (required by Kamal)
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Aug 31, 2024
1 parent 8a06c8a commit b8d229d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
# Ignore master key for decrypting credentials and more.
/config/master.key

.env
.env
.env.production
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,6 @@
logger.formatter = config.log_formatter
config.logger = ActiveSupport::TaggedLogging.new(logger)
end

config.hosts << 'localhost:3000' # required when running within a Docker container (Kamal)
end

0 comments on commit b8d229d

Please sign in to comment.