Skip to content

Commit a45408d

Browse files
committed
Security fixes and run this more easily.
1 parent 6293250 commit a45408d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
from program import app
2+
3+
if __name__ == '__main__':
4+
app.run(load_dotenv=False)

days/017-020-flask-call-apis/code/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ itsdangerous==0.24
77
Jinja2>=2.10.1
88
MarkupSafe==1.0
99
python-dotenv==0.9.1
10-
requests==2.19.1
10+
requests>=2.21.0
1111
urllib3==1.24.2
1212
Werkzeug==0.14.1

0 commit comments

Comments
 (0)