ensure trailing slashes in all routes

This commit is contained in:
2026-04-17 10:45:54 +03:00
parent 9d8404b774
commit d2cdeaed1d
5 changed files with 19 additions and 19 deletions

View File

@@ -2,6 +2,6 @@ from flask import Blueprint
bp = Blueprint('posts', __name__, url_prefix='/posts/')
@bp.get('/<int:post_id>/edit')
@bp.get('/<int:post_id>/edit/')
def edit(post_id):
return 'stub'