From 37469e3e080952fdb21cefdce2346fd727990850 Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Mon, 13 Jul 2020 16:01:32 +0200 Subject: get schema values dynamically --- matweb/rest_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'matweb') diff --git a/matweb/rest_api.py b/matweb/rest_api.py index 4910b44..429b82e 100644 --- a/matweb/rest_api.py +++ b/matweb/rest_api.py @@ -15,8 +15,8 @@ from flasgger import swag_from from matweb import file_removal_scheduler, utils -api_bp = Blueprint('api_bp', __name__, url_prefix='/api/') -api = Api(api_bp) +api_bp = Blueprint('api_bp', __name__) +api = Api(api_bp, prefix='/api') class APIUpload(Resource): -- cgit v1.3