From 781e31400a123a5e2f229249b07b4849486f6847 Mon Sep 17 00:00:00 2001
From: Nick Krichevsky <nick@ollien.com>
Date: Sat, 15 Sep 2018 17:36:18 -0400
Subject: [PATCH] Add custom port setting to config

---
 flask_app.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flask_app.py b/flask_app.py
index 11939bc..e2cbb5c 100644
--- a/flask_app.py
+++ b/flask_app.py
@@ -15,7 +15,7 @@ from flask import Flask, render_template, redirect, url_for, request, session, j
 from flask_sqlalchemy import SQLAlchemy
 from werkzeug.utils import secure_filename
 
-from config_hackWPI import api_keys, WAITLIST_LIMIT, HACKATHON_TIME, ALLOWED_EXTENSIONS
+from config_hackWPI import api_keys, SERVER_PORT, WAITLIST_LIMIT, HACKATHON_TIME, ALLOWED_EXTENSIONS
 
 app = Flask(__name__)
 app.config.from_pyfile('config.py')
@@ -550,4 +550,4 @@ def allowed_file(filename):
 
 
 if __name__ == '__main__':
-    app.run(host='0.0.0.0', port=80, threaded=True)
+    app.run(host='0.0.0.0', port=SERVER_PORT, threaded=True)