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 155d7ff commit fe867b3Copy full SHA for fe867b3
.gitignore
@@ -103,6 +103,7 @@ pip-selfcheck.json
103
# mkdocs documentation
104
/site
105
106
+*.DS_Store
107
*.swp
108
example-app
109
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