We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b51962a commit eb8cb01Copy full SHA for eb8cb01
flask_apispec/extension.py
@@ -73,7 +73,7 @@ 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', '/flask-apispec/static')
77
)
78
79
json_url = self.app.config.get('APISPEC_SWAGGER_URL', '/swagger/')
0 commit comments