JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
get nodester port from ENV
authorJason Woofenden <jason@jasonwoof.com>
Sun, 22 Jan 2012 03:09:10 +0000 (22:09 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Sun, 22 Jan 2012 03:09:10 +0000 (22:09 -0500)
server.coffee

index 44084e8..1ce56f2 100644 (file)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-listen_port = 13850
+listen_port = process.env.app_port ? 9988
 sys = require 'sys'
 fs = require 'fs'
 http = require 'http'