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.
2 parents 683e92a + 3b64d12 commit 147aaf8Copy full SHA for 147aaf8
.gitignore
@@ -103,9 +103,8 @@ pip-selfcheck.json
103
# mkdocs documentation
104
/site
105
106
+*.DS_Store
107
*.swp
108
example-app
109
-.DS_Store
110
-
111
# End of https://www.gitignore.io/api/python
swagger_py_codegen/templates/sanic/blueprint.tpl
@@ -11,7 +11,7 @@ from .validators import security
11
def current_scopes(request):
12
return {{ scopes_supported }}
13
14
-bp = Blueprint('{{ blueprint }}', __name__)
+bp = Blueprint('{{ blueprint }}', url_prefix='/{{ blueprint }}')
15
16
for route in routes:
17
route.pop('endpoint', None)
0 commit comments