Spaces:
Sleeping
Sleeping
Commit
·
391ac5d
1
Parent(s):
a18c74f
making it only accept post reqeusts
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def not_valid(params: dict):
|
|
27 |
return False
|
28 |
|
29 |
|
30 |
-
@app.route("/", methods=["POST"
|
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")
|