Jensen-holm commited on
Commit
391ac5d
·
1 Parent(s): a18c74f

making it only accept post reqeusts

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def not_valid(params: dict):
27
  return False
28
 
29
 
30
- @app.route("/", methods=["POST", "GET"])
31
  def index():
32
  if request.method == "GET":
33
  return render_template("index.html")
 
27
  return False
28
 
29
 
30
+ @app.route("/", methods=["POST"])
31
  def index():
32
  if request.method == "GET":
33
  return render_template("index.html")