Skip to content

Commit f491ece

Browse files
committed
add PORT
1 parent c0f6790 commit f491ece

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: gunicorn app:app
1+
web: gunicorn app:app $PORT

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
app = Flask(__name__)
55

66

7-
@app.route("/", methods=['GET', 'POST'])
7+
@app.route('/', methods=['GET', 'POST'])
88
def index():
99
if request.method == 'POST':
1010
qr = request.form['qr']

0 commit comments

Comments
 (0)