allowing POST for build api

This commit is contained in:
Youen 2022-09-03 19:47:56 +02:00
parent 0d498c1929
commit 9f6ef1b9d6

View File

@ -7,7 +7,7 @@ from data.document import Document
bp = Blueprint('api_document', __name__, url_prefix='/api/doc')
@bp.route('/build')
@bp.route('/build', methods=['GET', 'POST'])
def build():
origin = get_arg('origin')
doc_name = get_arg('doc_name')