We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51962a commit 1407b51Copy full SHA for 1407b51
flask_apispec/extension.py
@@ -73,7 +73,8 @@ def add_swagger_routes(self):
73
__name__,
74
static_folder='./static',
75
template_folder='./templates',
76
- static_url_path='/flask-apispec/static',
+ static_url_path=self.app.config.get('APISPEC_SWAGGER_STATIC_URL',
77
+ '/flask-apispec/static')
78
)
79
80
json_url = self.app.config.get('APISPEC_SWAGGER_URL', '/swagger/')
0 commit comments