X-Git-Url: https://jasonwoof.com/gitweb/?p=peach-cgt.git;a=blobdiff_plain;f=server.coffee;h=196a0b844f479b296b2edf6f5c3c15595ec41314;hp=36b6862fc92c2f16f92ce171f569edd3ca0b2b1f;hb=b9a8e790c3c7c29aac036cef282d61d502306ebd;hpb=f4aefbd8cdba143c523c71f959ba5585c0a15760 diff --git a/server.coffee b/server.coffee index 36b6862..196a0b8 100644 --- a/server.coffee +++ b/server.coffee @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -listen_port = process.env.app_port ? 9988 +listen_port = process.env.PORT ? process.env.app_port ? 9988 sys = require 'sys' fs = require 'fs' http = require 'http'