set port from .env if specified

This commit is contained in:
Koen Van der Auwera
2012-05-11 14:17:03 +02:00
parent 003b466a17
commit 0b0324fed9
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ private ######################################################################
end
def base_port
options[:port] || 5000
options[:port] || environment["PORT"] || 5000
end
def kill_all(signal="SIGTERM")