diff --git a/workshops/ecs-spot-capacity-providers/webapp/app.py b/workshops/ecs-spot-capacity-providers/webapp/app.py index 5b713f58..402311a1 100644 --- a/workshops/ecs-spot-capacity-providers/webapp/app.py +++ b/workshops/ecs-spot-capacity-providers/webapp/app.py @@ -1,5 +1,5 @@ from flask import Flask, render_template -from flask.ext.cors import CORS, cross_origin +from flask_cors import CORS, cross_origin import os import requests import json diff --git a/workshops/ecs-spot-capacity-providers/webapp/requirements.txt b/workshops/ecs-spot-capacity-providers/webapp/requirements.txt index 762eee2a..0ea9fe28 100644 --- a/workshops/ecs-spot-capacity-providers/webapp/requirements.txt +++ b/workshops/ecs-spot-capacity-providers/webapp/requirements.txt @@ -1,5 +1,5 @@ -Flask==0.10.1 -Flask-Cors==1.10.2 +Flask==1.1.2 +Flask-Cors requests signals ec2-metadata