From 0547ea7539e903c98a58b28ac3e32425f31ba581 Mon Sep 17 00:00:00 2001 From: "Carlos Manzanedo Rueda (ruecarlo@)" Date: Mon, 22 Feb 2021 00:48:29 +0000 Subject: [PATCH] Flask application updated to latest versions --- workshops/ecs-spot-capacity-providers/webapp/app.py | 2 +- workshops/ecs-spot-capacity-providers/webapp/requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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