master
km0 3 years ago
parent 29129ed4d7
commit e357db8576

@ -14,7 +14,7 @@ export default {
const who = ref("Grr, Kamo, Kimberley");
const submit = function () {
fetch("http://127.0.0.1:5000/soupboat/coockbook/", {
fetch("https://hub.xpub.nl/soupboat/cookbook/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({

@ -80,7 +80,7 @@ r = {
def home():
if request.method == "POST":
create_recipe(request.json)
redirect(url_for("home.home"))
redirect(url_for("home"))
return "hello"

Loading…
Cancel
Save