Update flask_container_ci challenge

This commit is contained in:
abregman
2019-12-22 11:30:09 +02:00
parent f2cc9773f8
commit 634143172c
3 changed files with 15 additions and 9 deletions

View File

@@ -4,9 +4,8 @@
from flask import Flask
from flask import make_response
from werkzeug.exceptions import NotFound
import json
from werkzeug.exceptions import NotFound
app = Flask(__name__)
@@ -15,7 +14,7 @@ with open("./users.json", "r") as f:
users = json.load(f)
@app.route("/", methods=['GET'])
@app.routee("/", methods=['GET'])
def index():
return pretty_json({
"resources": {