This commit is contained in:
root authored and Tarrien committed 2024-01-29 12:37:48 -05:00
1 parent ee98678058
commit f1db5edbd4
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ Rails.application.configure do
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
config.hosts << 'wobbldev.tarrien.net'
# Do not eager load code on boot.
config.eager_load = false
+1 -1
View File
@@ -9,7 +9,7 @@ threads min_threads_count, max_threads_count
if ENV['SOCKET']
bind "unix://#{ENV['SOCKET']}"
else
bind "tcp://#{ENV.fetch('BIND', '127.0.0.1')}:#{ENV.fetch('PORT', 3000)}"
bind "tcp://#{ENV.fetch('BIND', '0.0.0.0')}:#{ENV.fetch('PORT', 3000)}"
end
environment ENV.fetch('RAILS_ENV') { 'development' }