From 247f4ce2b1360affb971d46633c06b25270da6c4 Mon Sep 17 00:00:00 2001 From: Trevor Roberts Jr Date: Mon, 13 Apr 2020 17:21:16 -0400 Subject: [PATCH] Updated flask-cors to address Issue #21 and updated Flask flask-cors 3.0.0 does not properly pass the required headers to prevent CORS errors Flask 0.12.2 does not pin the Werkzeug dependency version and odd "AttributeError...is_xhr" errors populate the logs. Flask 0.12.5 pins the Werkzeug version dependency to avoid these errors. --- .../ws3-start/app/like-service/service/requirements.txt | 4 ---- .../ws3-start/app/monolith-service/service/requirements.txt | 4 ---- 2 files changed, 8 deletions(-) diff --git a/workshop-2/ws3-start/app/like-service/service/requirements.txt b/workshop-2/ws3-start/app/like-service/service/requirements.txt index 08eb1fc..b0c0e0e 100644 --- a/workshop-2/ws3-start/app/like-service/service/requirements.txt +++ b/workshop-2/ws3-start/app/like-service/service/requirements.txt @@ -1,7 +1,3 @@ -<<<<<<< HEAD -Flask==0.12.2 -======= Flask==0.12.5 ->>>>>>> Updated flask-cors to address Issue #21 and updated Flask flask-cors==3.0.8 requests==1.2.3 diff --git a/workshop-2/ws3-start/app/monolith-service/service/requirements.txt b/workshop-2/ws3-start/app/monolith-service/service/requirements.txt index edb0627..304e166 100644 --- a/workshop-2/ws3-start/app/monolith-service/service/requirements.txt +++ b/workshop-2/ws3-start/app/monolith-service/service/requirements.txt @@ -1,7 +1,3 @@ -<<<<<<< HEAD -Flask==0.12.2 -======= Flask==0.12.5 ->>>>>>> Updated flask-cors to address Issue #21 and updated Flask flask-cors==3.0.8 boto3==1.7.16