|
|
|
@ -110,7 +110,6 @@ def update_wiki(recipe):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: get data from client
|
|
|
|
|
@app.route("/", methods=["GET", "POST"])
|
|
|
|
|
def home():
|
|
|
|
|
if request.method == "POST":
|
|
|
|
@ -127,6 +126,4 @@ def get():
|
|
|
|
|
recipes = get_recipes()
|
|
|
|
|
return jsonify(recipes)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TODO: set another port and setup nginx
|
|
|
|
|
app.run(port=3145)
|
|
|
|
|