Sfoglia il codice sorgente

Revert "Default puma to running on localhost only." (#8444)

* Revert "Default puma to running on localhost only. (#8429)"

This reverts commit 2a59c6a5e7.
master
Eugen Rochko 5 anni fa
committed by GitHub
parent
commit
3305484028
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      config/puma.rb

+ 1
- 2
config/puma.rb Vedi File

@@ -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' }


Caricamento…
Annulla
Salva