methods typo

master
km0 3 years ago
parent cb32fc3d01
commit 56f9a20666

@ -9,7 +9,7 @@ repo_path = os.environ.get("REPO_PATH")
bp = Blueprint("contents", __name__, url_prefix="/contents") bp = Blueprint("contents", __name__, url_prefix="/contents")
@bp.route("/", method=("GET", "POST")) @bp.route("/", methods=("GET", "POST"))
def contents(): def contents():
if request.method == "POST": if request.method == "POST":
print(request) print(request)

Loading…
Cancel
Save