mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-24 14:54:13 +00:00
Revert "Default puma to running on localhost only." (#8444)
* Revert "Default puma to running on localhost only. (#8429)"
This reverts commit 2a59c6a5e7
.
This commit is contained in:
parent
22e46ebad8
commit
3305484028
|
@ -4,8 +4,7 @@ threads threads_count, threads_count
|
|||
if ENV['SOCKET'] then
|
||||
bind 'unix://' + ENV['SOCKET']
|
||||
else
|
||||
port_num = ENV.fetch('PORT') { 3000 }
|
||||
bind "tcp://127.0.0.1:#{port_num}"
|
||||
port ENV.fetch('PORT') { 3000 }
|
||||
end
|
||||
|
||||
environment ENV.fetch('RAILS_ENV') { 'development' }
|
||||
|
|
Loading…
Reference in a new issue