Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7722cee

Browse files
committedMay 27, 2018
changes fix
1 parent 30e6078 commit 7722cee

File tree

5 files changed

+20
-89
lines changed

5 files changed

+20
-89
lines changed
 

‎Pipfile

-15
This file was deleted.

‎Pipfile.lock

-67
This file was deleted.

‎Procfile.dev

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Procfile.dev - development
2+
3+
# Use the Flask development server.
4+
web: python pincode.py
5+
-

‎pincode.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
app = Flask(__name__)
77
app.secret_key = 'F12Zr47j\3yX Rsddsdsdsdsd qdcewvcqwraxw evtsdxs rybvsa WRacs atsvgc'
88

9-
@app.route('/')
10-
def hello():
11-
return 'Hello world from Flask!'
12-
139
@app.route('/pincode', methods=['POST'])
1410
def check_for_dnd():
1511
"""
@@ -21,7 +17,7 @@ def check_for_dnd():
2117
url = 'http://' + host + endpoint + pincode
2218
return render_template('results.html', result=json.loads(requests.get(url).content))
2319

24-
@app.route('/entry/')
20+
@app.route('/')
2521
def entry_page():
2622
return render_template('entry.html',
2723
the_title='Welcome to PIN CODE details on the web!')

‎requirements.txt

100644100755
+14-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
Flask
2-
gunicorn
1+
Fabric==1.8.2
2+
Flask==0.10.1
3+
Flask-WTF==0.9.4
4+
Jinja2==2.7.2
5+
MarkupSafe==0.18
6+
WTForms==1.0.5
7+
Werkzeug==0.9.4
8+
coverage==3.7.1
9+
ecdsa==0.10
10+
gunicorn==19.3.0
11+
itsdangerous==0.23
12+
paramiko==1.12.2
13+
pycrypto==2.6.1
14+
wsgiref==0.1.2

0 commit comments

Comments
 (0)
Please sign in to comment.